??? Using an <img src= statement to access photos in a password-protected gallery
denisegoldberg
Administrators Posts: 14,405 moderator
I was just answering a question for someone in the HOW TO match your blog to your smug site (blogger-specific) and I realized that I don't know if what I am seeing is the correct behavior.
The question was about referencing images in a blog (or any site outside of the smug site) where the images are in a gallery that is password-protected. I was curious, so I tried it in my "play" blog.
If I explicitly reference a photo with an <img src= statement and that photo is in a password-protected gallery, the photo is still displayed.
If I also use an <a href= statement to allow a click on the photo to jump to the gallery, a click brings up the password page (as expected).
The question?
Should I be able to use an <img src= statement to show a photo outside of smug where that photo is in a gallery that is password-protected? Or is this a bug?
Blog entry that shows this behavior is at http://denisegoldbergplays.blogspot.com/2010/01/show-photo-from-password-protected.html. Warning - this is a play blog and a test gallery, so if you are looking at this sometime in the future it may have changed...
--- Denise
The question was about referencing images in a blog (or any site outside of the smug site) where the images are in a gallery that is password-protected. I was curious, so I tried it in my "play" blog.
If I explicitly reference a photo with an <img src= statement and that photo is in a password-protected gallery, the photo is still displayed.
If I also use an <a href= statement to allow a click on the photo to jump to the gallery, a click brings up the password page (as expected).
The question?
Should I be able to use an <img src= statement to show a photo outside of smug where that photo is in a gallery that is password-protected? Or is this a bug?
Blog entry that shows this behavior is at http://denisegoldbergplays.blogspot.com/2010/01/show-photo-from-password-protected.html. Warning - this is a play blog and a test gallery, so if you are looking at this sometime in the future it may have changed...
--- Denise
https://www.denisegoldberg.com ... https://denise.smugmug.com
Musings & ramblings at https://denisegoldberg.blogspot.com
Musings & ramblings at https://denisegoldberg.blogspot.com
0
Comments
remembers the PW? The direct photo will work as long as external links are
on.
http://www.denisegoldberg.com/photos/580884474_ay7Qg-M.jpg
My Website index | My Blog
I get the password page with the link but not with the direct photo display.
It was the direct photo display that I was questioning. From what you are saying, this is working as expected then - the direct link works without a password. I wasn't sure because the photo is in a protected gallery. And yes, external links are allowed in that gallery.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
I was actually quite surprised that it worked.
If I had a gallery that was password-protected I wouldn't place photos from that gallery in an unprotected blog entry; I was asking the question for someone else.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com