Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #622082

    This is likely to be a very simple solution so apologies for this request! I can’t seem to find the solution on any other thread.

    Until now we have added .pdf files to our website that are linked to via an image or piece of text on a page, and then open in a new window. It’s simple and users know what they need to do to then save the file.

    Now we are trying to make a small image .jpg downloadable with one click. When we add a link to text or to an image linking direct to the .jpeg location, we expected it to either load in a new browser window or download as the pdf files have, however whatever we try within the available settings in the Enfold Theme content windows, the image loads over the page as images do when using a feature such as ‘Light Box’ or an image gallery.

    What I need is to have an image, or some ‘Download Here’ text that will automatically start a download of the .jpeg image for the website visitor. Can you please advise me of the best way to achieve this in the Enfold Theme.

    Very grateful for your support with this trivial task.

    #623249

    Can anyone help me with this? Would be very grateful.
    Thanks :)

    #624022

    Hi,

    Unfortunately thats not as easy as creating a simple link. A browser will usually interpret an image as a resource it wants to display. There are ways to force the browser to download an image but since they include a good amount of coding I would recommend to use a plugin like this one: https://wordpress.org/plugins/easy-media-download/

    Best regards,
    Kriesi

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.