• Firstly great plugin! One question, is it possible to have completely different images for each screen option? For example imageA.jpg for 1024px wide screens, imageB.jpg for 640px wide screens and imageC.jpg for 480px wide screens?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend, and thank you for using our plugin!

    The plugin has been designed from the beginning to work as seamlessly and transparently as possible, without changing the perceived contents of the images it delivers. So, it has been one of our topmost priorities so far to make sure that actually the same image is always delivered without the developer having to worry at all about that. This means that our plugin delivers the image stated in the HTML contents that the browser reads, resizing it as per the device dimensions but without even trying to make any further assumptions or tricks.

    So, the short answer to your question is that, no, this is not possible and, as a matter of fact, it even goes contrary to the plugin’s initial principles.

    However, I wouldn’t worry much about that, because I believe that what you are trying to describe is nowadays best tackled with the HTML PICTURE element or the IMG[srcset] attribute, which have been designed to support responsive images. Our plugin works nicely with these techniques as well, delivering even the responsive images themselves resized wherever necessary.

    Hope this answers your question, let me know if there is anything else you need.

    Cheers,
    Takis

Viewing 1 replies (of 1 total)
  • The topic ‘Different Images’ is closed to new replies.