Register with your Envato account

Support forums

Homepage Support Polaris WooCommerce Include images in product page as img tag instead of URL

Include images in product page as img tag instead of URL

Homepage Support Polaris WooCommerce Include images in product page as img tag instead of URL

This topic contains 1 reply, has 2 voices, and was last updated by  Planetshine Support 7 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10016

    carlopz
    Participant

    Hi, one of our customer asks for the possibility to download the product page images on Google Chrome with the “Save image as” functionality that is normally present when right clicking on the image.
    Now, due to the fact that the product page images are inserted like URL (e.g. style=”background-image: url(“https://www.example.com/wp-content/uploads/2019/01/67427A000_12788-635×412.jpg”); …)
    and not using the img tag, Google Chrome does not allow to save them right clicking.
    Our idea is to add a “download” button that get the image URL and open the image in a new tab where it is possible to download it.
    Do you have other suggestions or there is the possibility to include the product page images not like URL but using the img tag?
    Thanks.

    #10021

    Hey,

    Theme uses background image approach to provide the mouseover zoom effect, which seems disabled in a site you shared. To change background image to HTML img tag significant code adjustments will be required.

    Adding a link for download will be much easier, as it will result with less CSS coding. Probably you may try to look for some plugin which will do this for you.

Viewing 2 posts - 1 through 2 (of 2 total)
You must have active support license to create new replies.

Learn more about Renewing Item Support and Themeforest Item Support Policy.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close