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

    On my website page http://www.danbradleydesign.com/store , I have a section new where I have free iPhone wallpaper downloads. Currently, the only way I could figure out how to have users be able to access the images is to attach it as a zip file when the “download” link is pressed. I tried to attach it to a link to the image file opening in a new window, but when I did this it only opened up the larger image in a lightbox style popup in the website, which does not let users save the image from their iphone, ipad or website.

    So, what I would like to know… is there a way that when a users clicks the “download” link it will just open up the full sized image in a new window so they will be able to save the image on their mobile device instead of having to download the zip file to a computer?

    If there an easier way to go about this, I would greatly appreciate your help.

    Thank you

    -db

    #92098

    Yes, just add a noLightbox class to your download link. i.e. if the download link looks like:

    <a onclick="javascript:_gaq.push(['_trackEvent','download','http://danbradleydesign.com/wp-content/uploads/2012/04/dbDESIGN_logo_Full.jpg.zip']);" href="http://danbradleydesign.com/wp-content/uploads/2012/04/dbDESIGN_logo_Full.jpg.zip">Download</a>

    Replace it with:

    <a onclick="javascript:_gaq.push(['_trackEvent','download','http://danbradleydesign.com/wp-content/uploads/2012/04/dbDESIGN_logo_Full.jpg.zip']);" href="http://danbradleydesign.com/wp-content/uploads/2012/04/dbDESIGN_logo_Full.jpg.zip" class="noLightbox">Download</a>

    #92099

    I will give this a shot today, thanks Dude ;)

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Image downloads’ is closed to new replies.