WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] hardcoded img width not correct (6 posts)

  1. mikegoodstadt
    Member
    Posted 2 years ago #

    Hi again,
    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!
    many thanks,
    Mike

    <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 -->

    http://wordpress.org/extend/plugins/meteor-slides/

  2. mikegoodstadt
    Member
    Posted 2 years ago #

    OK it is something to do with the image ratio...
    I have 960x200 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.
    M :(

  3. mikegoodstadt
    Member
    Posted 2 years ago #

    UPDATE: in short, nuked it XD (see below)
    Reinstalled plugin and changed settings to 960x160.
    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.
    LEARNING:
    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...

  4. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. mikegoodstadt
    Member
    Posted 2 years ago #

    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

  6. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    That sounds handy, I'll have to check out that plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic