SubZtep
Forum Replies Created
-
Forum: Plugins
In reply to: [GIF Animation Preview] Change the "GIF" text other textHey
The current live version is not allow you to do this. Use an icon is almost impossible, this why the new version will have a completely modified front-end part. (Don’t ask for ETA)
You can change the text, but it’s not easy. You need to modify the sourcecode of the plugin.
You need to find the following part of the minified javascript and change the text:
https://github.com/SubZtep/gif-animation-preview/blob/master/gapplayer.js#L181If you just add one more character (for example ‘play’) it will work, but style will be broken, you need to fix it too. For 4 characters long text this will be the right css:
https://gist.github.com/SubZtep/b2c35812f15d672a089eI hope it helps, if not, you need to wait until the next major release.
Forum: Plugins
In reply to: [GIF Animation Preview] Disabling On Certain Images?Just download the newest version (1.10.3) and add nogap class for the images. It doesn’t work with post’s metadata.
I just updated gap.class.php so you can keep your css for now.
Forum: Plugins
In reply to: [GIF Animation Preview] Infinite ScrollHi, no worries, I try to answer if I can ??
Open the plugin’s settings page:
https://YOUR-WEBSITE/wp-admin/options-general.php?page=infinite_scroll_optionsOr you can navigate there in the administrator area, Settings, Infinite scroll
There is the Callback textarea
Forum: Plugins
In reply to: [GIF Animation Preview] Possible to turn off on single posts?Is it happening if you choose Loop Preview and tick off both Do preview images from metadata and Do preview images for post thumbnail?
Forum: Plugins
In reply to: [GIF Animation Preview] Loading problemEnter
$teo_nolazy = true;
is required for turn off plugin’s lazyload. It doesn’t work with other lazyload plugins yet. As I see in your source embeds still using lazyload, like this:<img class="lazy" data-original..
Or we have different versions from the theme, I have v1.2, maybe it’s quite old.
Forum: Plugins
In reply to: [GIF Animation Preview] Don't work on my siteHi, it’s hard to say without see the server, because install test required php.
I would try to upload any kind of image to the post to be sure the post’s directory is exists. If you are able to upload probably the script has right to generate an image to the same place too.
Hi,
Thanks for the test page, indeed, it’s really broken in special environment. I found other tickets too about similar wrong behaviour.
This plugin currently don’t really take care of the post html, it just works with simple embeds. Alignment and responsive stuff doesn’t work, the javascript can’t find dynamical inserted images, etc.
I was focusing on the backend part, it seems ok now. So it’s time to do a huge update on the fronted, at least I have something to test with. ??
Forum: Plugins
In reply to: [GIF Animation Preview] Gif not showing on posts, only an image like a jpegI could solve it with a tiny jquery selector update, hopefully it works everywhere with default Photon settings.
Btw it still doesn’t work with lazyload.Forum: Plugins
In reply to: [GIF Animation Preview] Gif not showing on posts, only an image like a jpegWeird, Jetpack is working to me with all functions, maybe other plugins+jetpack+theme combo killed the plugin. Anyway I’m going to refactor the javascript for prevent similar problems and maybe add some customisations.
Forum: Plugins
In reply to: [GIF Animation Preview] Gif not showing on posts, only an image like a jpegOh, cool, I was just trying to find what could be wrong. Thanks for the info, I will try to figure out how can it work with Jetpack.
Forum: Plugins
In reply to: [GIF Animation Preview] Gif not showing on posts, only an image like a jpegHi, this plugin doesn’t work well together with lazy load plugins (yet), probably this is the problem. If you could post your site link that would be easier to see what goes wrong.
Forum: Plugins
In reply to: [GIF Animation Preview] CSS and Javascripts not loadingJs not included because the template doesn’t include jQuery on the proper way so the plugin think jQuery doesn’t exists.
I just removed jQuery check from the plugin (download new version 1.10.1), it’s useless anyway. I hope it works now.
Forum: Plugins
In reply to: [GIF Animation Preview] CSS and Javascripts not loadingIt shouldn’t be problem, the worst case is you include jquery twice.
Be sure you add
<?php wp_head(); ?>
to the template header for include the css file, and add
<?php wp_footer(); ?>
to the template footer for include the js file.
Forum: Plugins
In reply to: [GIF Animation Preview] The plugin does not work :(Great ??
Forum: Plugins
In reply to: [GIF Animation Preview] preview is not working after upgrade of wordpressHi, your template doesn’t include gapplayer.min.js, it’s essential. Maybe try to turn off and on again the plugin… sometimes it’s helpful.