Hi I’m not sure what’s causing the image refresh plug in to get “stuck” on a certain image. Any insight on what that could be?
]]>Great plugin, thanks for developing!
In Gutenberg, when I paste the shortcode (for example: mpress_image_refresh attachment=”1261, 1090, 1018″ size=”full”) the image is not responsive. It displays the full width regardless of the screen size.
Currently, the string of text is formatted as “text block” but I have tried the “classic” and “code” block as well. What is the correct way of inserting the shortcode to make the image responsive?
]]>Just updated to WordPress 6.0.1 and Image Refresh took the site offline!
Deactivated the plugin and the site functions as normal.
Error is:
Fatal error: Uncaught Error: Call to undefined function get_plugin_data() in /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-content/plugins/mpress-image-refresh/mpress-image-refresh.php:136 Stack trace: #0 /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-includes/class-wp-hook.php(307): mPress_Image_Refresh::wp_enqueue_scripts() #1 /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action() #3 /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-includes/script-loader.php(2156): do_action() #4 /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts() #5 /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /misc/40/000/188/517/9/user/web/xxxxx.xx in /misc/40/000/188/517/9/user/web/xxxxx.xx/wordpress/wp-content/plugins/mpress-image-refresh/mpress-image-refresh.php on line 136
Hi
Can you use with Elementor full-width background image? I am trying to have background image change when refreshed but need to put logo on top of the images that are full width.
If not Elementor can I use Divi to achieve the same thing?
I put a site I am trying to emulate in the link
Thank you in advance for your help.
]]>Hi!
First of all, thanks for creating this plugin. I’m trying it out in a subarea of a website of mine and its perfect for something I’ll need in the future. The only problem I have is that the process of adding pictures to the page I want the shortcode on, only to delete them afterwards (so that only the randomly selected picture is visible) is a bit tedious and chaotic for me. Therefore I’d love to use the post_id function that is enabled in your plugin. As I understand it, I can create another post on my website and essentially use it as an image library right? So that I can just stuff it with images and make one of them load randomly on the actual page that I’m using the plugin on? On my website this’d be https://www.cardsofconfound.com/katerstorage. When I try that by entering the post id or name of the page the plugin renders the little red box saying that it thinks I forgot to enter a page or renders one single picture that doesn’t change after refreshing. Do you have an idea of what could be going wrong here?
Best,
Jonathan
Hi,
It is possible to have the image title display (instead of the caption)?
Thanks
]]>When the cache provided by WP-Optimize plug-in is engaged, images will not be updated at each page re-load in phone and tablet browsers. Desktop browsers seem to be working.
]]>I don’t have a fully finished page yet.
I’m wondering if you have experience with using your plugin and elementor?
Trying to upload media in the wordpress classic editor and then switching to elementor to continue design elements on the page is proving problematic.
I did have some success when I uploaded 7 test images using classic editor, but when I went back to that area the images were no longer visible but they were somehow still loading on the test page.
Suffice it to say I’m inexperienced and thoroughly confused.
Thank you.
Dona
Turning my review into a support request: “size” attribute is not working! Any advice?
]]>Hi,
after the big update to wp 5 the site health is flagging critical errors. With the aid of plugin ‘site health’ I came to find that ‘wp image refresh’ is the culprit. It causes the following error:
‘Your site could not complete a loopback request
Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.
The loopback request to your site failed, this means features relying on them are not currently working as expected.?Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)’
As the plugin is a crucial component for the site, I cannot disable it.
Please help.
Uli
Hello,
It is mentionned on set up :
“Just above the content editing area, click on the ‘Add Media’ icon to bring up the media uploader.”
I don’t know what “add media” icon you are referring to…I don’t see it, either on posts or on pages.
Thanks for your kind help
RP
This plugin is great! I’m hoping to turn the image in a link to a custom URL (best would be to use the image’s display settings – custom URL). There’s mention of using the -markup action/filter so maybe just a simple example would get me in the right direction? I think there’s mention of adding a url_link to the shortcode or image attributes in these support forums.
Some backstory – our site used a Slider which isn’t WCAG compatible so of course audit and I’ve had to ditch that. Yours seems to be the best/easiest random-image-on-load plugin that preserves the alt tag (most galleries don’t), but that the image needs to be clickable (to it’s own page).
Thanks again for making this plugin available! And great to hear it is still being maintained!
]]>Hello.
Wordfence is flagging your plugin as “possibly abandoned”. Would you kindly either update or pull it, please?
]]>Hi,
thanks for your great plugin!
A question please, is it possible the plugin works like is “background-image” ?
Because i’ll try it on footer background image but it breakes wigdet, words,
You can guide me the way to customises it, works it?
and if i want to adds in template :
<?php echo do_shortcode(‘[mpress_image_refresh attachment=”5725, 5727″]’); ?>
right?
thanks!
]]>I love the plugin, excatly what I was looking for. But can you have each image link to a custom url? I have a directory website, and am using the plugin to show featured listings. I’d like the images to redirect to each listing thank you!
]]>Hi
Using mpress image refresh. Works well but only if I am logged in to the site.
If I browse without logging in, images do not refresh (see page link).
Please advise.
Thanks.
]]>There is a conflict with your plugin and the Divi Fullwidth Slider on the backend. If I have the Divi slider on a page where the plugin shortcode is also used, somehow the plugin erases the Background Image Size and Background Image Position settings when the page is changed and updated. I am able to work around the problem by updating your code to not initialize the plugin in we are in admin (e.g., is_admin()), which it probably shouldn’t be doing anyway.. I don’t how or where specifically the conflict exists, but I’ve definitely isolated the problem to the interaction between your plugin and the Divi Slider. I have test cases if you are interested in investigating further. Minimally, I think the code should not initialize on the backend as I don’t see any reason it should.
]]>Hi,
I am finding the full setting is not allowing the images to be full width in Divi 3.
I have placed the shortcode in the ‘full width code’ element. I tried using the Media Large size and setting it to 1400px, this did not help.
As far as I can tell there is nothing in the theme restricting the image sizes. An image placed in the Divi ‘fullwidth image’ element looks fine.
I will try some other settings, but if you have any ideas much appreciated.
Hallo Micah
I have a problem with a random image not appearing when I use the random image shortcode and when no post(s) or page(s) can be found and shown. But when the url can show a post or page, then the random image appears. I see the problem in my own custom theme, but also in all WordPress 4.7.3 default themes Twenty Fifteen, Twenty Sixteen and Twenty Seventeen.
The situation is not a real problem for normal page navigation, because a page is always shown. (But I see the problem if I just give a false Url). The situation is more a problem when I am searching (with the default WP search function) and there is no page for the given search terms.
Test setup
So what I have done is :
WordPress 4.7.3
Plugins installed
Plugin : Mpress Image Refresh, version 2.1
Plugin Simple Testimonials from Pixelovely, version 1.0.0
No other plugins installed
Wherever I insert your shortcode I also insert immediately after, a random text shortcode from plugin Simple Testimonial from Pixelovely :
[mpress_image_refresh attachment=”71, 72, 73,74″]
[testimonial number=2]
With the 3 WP default themes I insert both shortcodes in a text widget in all available widget areas for each theme.
And with my own custom theme, I insert both shortcodes directly in a left and right sidebar with do_shortcode() – the page/post content fetch is just the normal WP default loop – The template snippet for the left, content, and right areas is :
<div id="sidebar-left">
<?php echo do_shortcode('[mpress_image_refresh attachment="71, 72, 73,74"]'); ?>
<?php echo do_shortcode('[testimonial number=2]'); ?>
</div>
<div id="page">
<?php if (have_posts()) :
while (have_posts()) :
the_post();
?><h2><?php the_title(); ?></h2><?php
the_content();
endwhile;
else: ?>
<p><?php _e('Sorry, no posts/pages matched your criteria.'); ?></p>
<?php endif; ?>
</div>
<div id="sidebar-right">
<?php echo do_shortcode('[mpress_image_refresh attachment="71, 72, 73,74"]'); ?>
<?php echo do_shortcode('[testimonial number=2]'); ?>
</div>
My normal case : What I am wanting when things are working, is to use my own custom template, and insert your random image shortcode via a text widget in the left sidebar only .. so then the attachment ids can be changed from the Backend
Test cases
I then have 2 test cases in the Frontend :
Case A : The browser shows a valid page (the browser Url corresponds to an existing page or the search fn finds pages which have term that is in the value of the search Url param s ).
Case B : The browser does not show a valid page (the browser Url does not correspond to an existing page, or the search fn has not found any pages)
Result
Case A
The random texts of shortcode [testimonial] always show in all themes
The random image of the shortcode [mpress_image_refresh] always show in all themes
Case B
The random texts of shortcode [testimonial] always show in all themes
For the WP default themes I get for each Widget Area :
a. Twentyfifteen:
i. Widget Area : Good
b. Twentysixteen
i. Sidebar : Good
ii. Content Bottom 1 : Bad
iii. Content Bottom 2 : Bad
c. Twentyseventeen
i. Sidebar : ?
ii. Footer 1 : Bad
iii. Footer 2 : Bad
Where Good = The random image shows, Bad = The random image does not show
And with my custom theme I do not see any random image at all left or right.
Note, if Mpress Image Refresh is the ONLY plugin installed, I get the SAME problem.
So in conclusion , … do you know what the problem may be ?
Cheers aldebaran57
]]>Your plugin was working great no issues, until I updated it. Now it doesn’t recognize the full size. This is the error I am getting: Sorry, image size “full” is invalid. Defaulting to “large” image size. Please check your shortcode implementation.
[mpress_image_refresh size=”full”]
I need to have the full version as the large is too small, can you help?
Thanks
Carol
Hi, thanx for a great plugin!
I know the question was already here, but I will ask again – does exist any easy way how to add link to each image separately? Tried already everything. It will be a life saver for me..
Thank you in advance ??
]]>I have my own thumbnail size, which is called “mini”. After the update, instead of thumbnails is displayed:
“Sorry, image size “mini” is invalid. Defaulting to “large” image size. Please check your shortcode implementation.”
]]>I am not that up on css code and would like to add a border to the images shown.
can i do it by adding the attribute Border to the short code.
And if so how would it be, example please.
Any help much appreciated.
This is exactly the plugin I was looking for and works extremely well and is simple to use.
Very well done.
HI, I just installed this plugin but I might be missing something. I followed the instructions to add images to my page, but it only adds the images to the page and there is no place to add the shortcode. What I’m missing? I’m clicking on the native WP “Add Image” button above the tools because I don’t see any other “add media” button. Thanks!
]]>Can anyone tell me how to find the image IDnumber? I have over 180 images and have only been able to put them in randomly.
]]>Hi! I am having some troubles getting the images to go the full width of the page. I tried out this code on another website I run and it seemed to work fine but it didn’t work on this one.
The theme we are using is hatch 0.3.0
[mpress_image_refresh attachment="1180, 1181" size="full"]
Did you guys ever make a way to link these images?
]]>Is there a way to show images from a media folder that is on a each site in multi-site and not show every picture that is uploaded
]]>How can i add a custom css name so that i can customize how the pictures will look like I tried to use this with no luck
[mpress_image_refresh container=”div” container_class=”circular-image” type=”full”]
Please let me know if the code is wrong
]]>works in internet explorer, but the images are blurry in chrome. need help
]]>