if they are not logged in they can not view the full sized image
I agree; this would be an excellent feature to add!
Check out http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=1380
I don't think it's really that ...
you want to say : people can see "normal" pictures but not in pop up ?
in displayimage.php search
// Display the full size image
function display_fullsize_pic()
{
global $CONFIG, $HTTP_GET_VARS, $THEME_DIR, $ALBUM_SET;
global $lang_errors, $lang_fullsize_popup, $lang_charset;
if (function_exists('theme_display_fullsize_pic')) {
theme_display_fullsize_pic();
return;
}
After
global $lang_errors, $lang_fullsize_popup, $lang_charset;
Add
if (!USER_ID) cpg_die(ERROR, 'Your message to invite visitors to register to see the big pic', __FILE__, __LINE__);
I know : layout is not good, but this is the idea, isn'it it ?
I wouldn't care so much about the layout, but your solution doesn't protect anything!
I see your medium size picture, I view page code, I see albums/rodinou/normal_blahblah.jpg, so I open http://rodinousdomain.com/albums/rodinou/blahblah.jpg.
I didn't login did I?
I know security is relative, but this is ludicrous.
Quote from: "Rodinou"I don't think it's really that ...
you want to say : people can see "normal" pictures but not in pop up ?
in displayimage.php search
// Display the full size image
function display_fullsize_pic()
{
global $CONFIG, $HTTP_GET_VARS, $THEME_DIR, $ALBUM_SET;
global $lang_errors, $lang_fullsize_popup, $lang_charset;
if (function_exists('theme_display_fullsize_pic')) {
theme_display_fullsize_pic();
return;
}
After
global $lang_errors, $lang_fullsize_popup, $lang_charset;
Add
if (!USER_ID) cpg_die(ERROR, 'Your message to invite visitors to register to see the big pic', __FILE__, __LINE__);
I know : layout is not good, but this is the idea, isn'it it ?
is it possible to get the same error messege in the same window? without having it open a new page(originaly for the full size pic) ?
or just make the same window to open in a fixed size, when an unregistered user is clicking on it ?
is it possible?
Thanks.
anyone?
i can't code well, but couldn't you set it up so that it disables thumbnail links when a user is unregistered??
thats a good idea... i am looking for something like this. do you have any leads?
http://coppermine.sourceforge.net/faq.php?q=registeredUsersOnly#registeredUsersOnly
beautiful.... thank you GauGau!