Why would the hardcoded img width be resetting to 768px?
I have the settings ok then I add the slides – all ok…
then I save the Meteor options and it ‘looses’ the width option!
<div class="mslide mslide-1"> <img width="768" height="160" src="http://localhost/ihopetospeed/wp/assets/BrantMargG-IN-960x200.jpg" class="attachment-featured-slide wp-post-image" alt="BrantMargG, IN" title="Margaret Brant" /> </div><!-- .mslide -->
OK it is something to do with the image ratio…
I have 960×200 and then changed the height to 160.
160:200= 20% reduction in width: 960*0.8=768
So the question: Why is the ratio not changing?
I’ve tried various combinations of uploading and ‘Setting feature image’ and have uninstalled and reinstalled the plugin.
None overcome the fixed ratio.
UPDATE: in short, nuked it XD (see below)
Reinstalled plugin and changed settings to 960×160.
I checked the database had saved the values.
The size was apparent on the New Slide header.
Uploaded image and all sizes were generated in assets folder.
Uploaded second image to give minimum functioning slideshow.
All now OK.
A Meteor slide is generated when the image is uploaded/chosen.
This is NOT regenerated when size changed in the Meteor options.
So first set your size.
If you need to resize the image must be rebuilt.
I recommend AJAX Thumbnail Rebuild.
Josh – can an image rebuild be built into the plugin or is this technically way out there?
NUKING routine ;P
removed all images from Meteor and Media, removed the images from the assests folder, uninstalled the plugin, cleaned out the database with Clean Options, double checked in myPHPadmin…
Hi, I haven’t tried building in thumb re-generation, but I think it would be pretty complicated. For re-sizing a few images I recommend just re-uploading them, for a lot the Regenerate Thumbnails plugin works great.
I can imagine so 🙂
AJAX Thumbnail Rebuild has an advantage over Regenerate Thumbnails as you can target a single thumbnail size to be regenerated.
In either case, they do not remove the old sized images from the server but these could be removed via FTP or ISP file manager.
Many thanks, Mike
- The topic ‘[Plugin: Meteor Slides] hardcoded img width not correct’ is closed to new replies.