PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   "How Do I..." Questions (http://www.photoplog.com/forum/forumdisplay.php?f=7)
-   -   Preventing pics from being clickable (http://www.photoplog.com/forum/showthread.php?t=1965)

Daunbreakable 12-12-2007 01:20 AM

Preventing pics from being clickable
 
I do have a problem with being able to click on images and they open a new link access to save the image or show the links to the direct link. I want people to upload pics and only be able to be viewed on my site without someone right clicking and saving it. Any thoughts?

Morgan 12-12-2007 01:31 AM

If people can see an image, they can save it. You could try this vBorg modification, though preventing right click won't stop people from saving images if they are determined.

Daunbreakable 12-12-2007 01:33 AM

I use that now..BUT..i don;t like images being clickable and opening up a new window..can I change this?

Morgan 12-12-2007 01:40 AM

You can edit the PhotoPlog templates via the vB ACP.

Find the following pattern and remove the A HREF anchor tags that surround the IMG tag:
Code:

<a href="..."><img src="..." alt="..." border="..." /></a>
For example, in the photoplog_view_file template, remove the bits in bold red:
Code:

<a href="$photoplog_location/file.php?$session[sessionurl]n=$photoplog_fileid&amp;w=o"><img src="$photoplog_location/file.php?$session[sessionurl]n=$photoplog_fileid&amp;w=l" alt="$vbphrase[photoplog_click_to_view_original]" title="$vbphrase[photoplog_click_to_view_original]" border="0" /></a>


All times are GMT. The time now is 06:07 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.