WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Wapple Architect Mobile Plugin for WordPress] Small images scaled up?

[Plugin: Wapple Architect Mobile Plugin for WordPress] Small images scaled up?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can – but not by default. If you have a look in the admin/globalfunctions.php file – on line 24 there is an array of classes that thumbnails can have that mean they don’t get scaled.

    If you let me know what class your thumbnails have though, I’ll add it into the core code so when you get an update it’ll all be ok.

    Thanks,
    Rich

    Hmm, I found it.

    $architectNoScaleImages = array('wp-smiley', 'sociable-hovers', 'rating_title', 'icon', 'rating', 'podcasticon', 'site-icon', 'sociable', 'sociablefirst');

    I’m not sure what to say the class is. Its just a regular image that is small. I’m not uploading a large image and then using the WP thumbnail. I’m just uploading small images. Can’t you just make large images scale to fit? I have tried almost every mobile plugin and none that I remember do what this one does with small images.

    Let me know how to find the class as I don’t see anything special on any of my images. This is a normal smaller one:

    [caption id="attachment_2514" align="aligncenter" width="135" caption="Fancy Topiary"]<img class="size-full wp-image-2514 " title="fancytopiary_gift" src="http://farmvillefanatic.com/blog/wp-content/uploads/2010/03/fancytopiary_gift.png" alt="" width="135" height="157" />[/caption]

    Thanks.

    Also is there anything I can do to make this work with NoSpamNX? It seems that all comments from the mobile theme are automatically kicked to spam when this plugin is enabled.

    Thanks.

    Hi – i’ve added some code in so as not to scale small images.

    The problem with your 135 pixel wide image is that it may still be too big for some handsets. New ones will be fine with it, older ones may not be.

    What you could do, is add something to that line so that it doesn’t scale images with a certain class, and then apply that class to your image – then they wouldn’t scale.

    With regards to nospamnx – I’ll check it out and see what I can do.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Wapple Architect Mobile Plugin for WordPress] Small images scaled up?’ is closed to new replies.
Skip to toolbar