Customizing SMF > Modifications and Packages

APImage

<< < (7/29) > >>

anteprimorac:
UPDATE FAQ

4. How to use APImage in SMF Gallery?
Find in Themes/YOUR THEME/Gallery2.template.php: Lines 915, 916 and 917

--- Code: --- <tr class="windowbg2">
<td align="center"><img height="' . $context['gallery_pic']['height']  . '" width="' . $context['gallery_pic']['width']  . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename']  . '" alt="" /></td>
</tr>
--- End code ---

replace with:


--- Code: --- <tr class="windowbg2">
<td align="center"><div class="ap-image" data-image="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename']  . '"></div></td>
</tr>
--- End code ---

anteprimorac:
UPDATE MOD:

Version 0.1.8:
+ Added support for SMF 1.1.x
! Fixed loading jQuery bug

Inti31:
will give it it try today - one suggestion: it would be nice to have an noslide-parameter for pics in img tags like alt="ns" for pics...

feedback...
okay, so - my opinion: this mod is usable only for special forums, which is pic-related, means huge pics - my guess.
A lot of mods offer slide functionalities - which work fine and the resolution of these pics is correct.

member post pic in img tags with just a height or width parameter - means if it slides up the resolution is correct.
if they don't use the parameter the pic is shown in the max resolution is set in administration panel.
so there is no need to use apimage for img-tag, because your mod usees  both parameter - so the resolution is not correct

Have a look to your test thread: http://smf.anteprimorac.from.hr/index.php?topic=2.msg20#msg20 - that looks worse
you can't use fixed sizes- also if you click on it - the resolution is also worse...

The gallery-mode looks nice - but here the same - I can't live with the shown clinched thunmbnail preview, here also the  resolution of the thumb is not correct - only the shown big pic above is okay. if you click on that pic pic and it slides up - that looks worse again - there is no need to zoom it up - just my guess. Also: if I set in admin panel a resolution for example maximum picture size to 400x300 this big pic should have this resolution...

In my case, I don't have any usage for that mod - I need slide functionalities which a) slides up pic in a correct way (=resolution) and b) offers key-functionality, means by pressing next or previous key on my keyboard that I can slide through images like I do here: http://epica-forum.de/index.php?action=gallery;sa=view;pic=33 for example...

sorry for that - maybe not that what you want to hear - it is just my opinion - no mean feat about you hard work !

cheers Inti31

anteprimorac:
I'm working on all that features in version 0.2.
I will reveal some features:
- advanced resizing
- navigation
- key-navigation
- object oriented javascript
...
I'm also developing a premium version.

Coming soon ;)

pixeleyes:
I just want to give one suggestion.

Your mod is very great but it could be more better if works only when use

APimage BBC Code or Gallery code.

e.g. Many users have pictures in their signatures but after installing APimage

their signatures background and size are automatically changed which is not good i think.

This mod should work only where use APimage BBC or Gallery code

rest forum image should not change.

Just a suggestion.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version