ZenphotoCMS Forum
Theme zpmobile animated GIF - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Theme zpmobile animated GIF (/thread-13076.html)



Theme zpmobile animated GIF - lastico31 - 2018-03-27

Hello everyone,

i need a little help :) , i have a small issue, i need to view gif animated on thumb or list of image. It's work on zentheme and not to mobile theme.

I found my issue on image.php on line 41 :

i change by this with : getFullImageURL()

if (isImagePhoto()) {
?>
[img][/img]" style="max-width:px"/>




Theme zpmobile animated GIF - acrylian - 2018-03-27

Please escape code correctly using backticks like this some code (for inline) or using four spaces before the code:

 somecode

https://daringfireball.net/projects/markdown/syntax#precode (tabs don't really work here)

Actually that should be the right place. You need to replace the printCustomSizedImage() functiom call with a full image one as you did above.




Theme zpmobile animated GIF - lastico31 - 2018-03-27

Thanks acrylian :)

I don't understand, my zen theme don't display gif animated. i don't find the setting.
Is there a general setting for this ?

When i change

[code]




Theme zpmobile animated GIF - acrylian - 2018-03-27

get functions don't print anything, they just "get" data. You have to use echo with it. In this case you have to use it with an img element of course as it just returns an url.
Example: `[img]




Theme zpmobile animated GIF - lastico31 - 2018-03-28

Hi,
Thank you so much ! It's perfect :)