New messages Members Forum rules Search
  • Page 1 of 1
  • 1
Forum moderator: kostova  
uCoz Support Forum by uCozers » uCoz » Photo Albums » Can photo tag be edited? (sml[answered])
Can photo tag be edited?
BadBoyDate: Thursday, 2009 October 01, 2:57 PM | Message # 1
Font size: A | A |
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
can photo tag $PHOTO$ be edited or used as
 
SamanaleDate: Thursday, 2009 October 01, 6:46 PM | Message # 2
Font size: A | A |
Sergeant
Group: User
Message: 33
[ ]
Offline
i dont think so
 
kostovaDate: Thursday, 2009 October 01, 10:25 PM | Message # 3
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
If you're trying to edit the image size, try this:
Code
<div id="photoContainer">$PHOTO$</div>
<style type="text/css">
#photoContainer {padding-left:10px;padding-right:10px;}
#photoContainer img {width:100%;}
</style>

Although, there's distortion problems with using that if the image exceeds it's natural dimensions. Which is why min-width and expressions are also used here.

Or use the direct photo url ($PHOTO_URL$).

 
BadBoyDate: Friday, 2009 October 02, 2:22 AM | Message # 4
Font size: A | A |
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
Quote (kostova)
If you're trying to edit the image size

nope i dont

Quote (kostova)
Or use the direct photo url ($PHOTO_URL$).

you mean i can replace $PHOTO$ with $PHOTO_URL$
something like this
replace this
Code
$PHOTO$

with this
Code
<img src="$PHOTO_URL$" oncontextmenu="return false">
 
kostovaDate: Friday, 2009 October 02, 2:30 AM | Message # 5
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
Quote (BadBoy)
Or use the direct photo url ($PHOTO_URL$).

you mean i can replace $PHOTO$ with $PHOTO_URL$
something like this
replace this
Code
$PHOTO$

with this
Code
<img src="$PHOTO_URL$" oncontextmenu="return false">

Correct.
 
kostovaDate: Friday, 2009 October 02, 3:03 AM | Message # 6
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
It does not work because the use for them are different in each template.

Appearance of Photo Entries are for the thumbnail versions of the sections, albums, etc.
It uses $FULL_PHOTO_DIRECT_URL$ instead of $PHOTO_URL$

There would be no use for protecting thumbnail images though because they're too small for anyone to have an interest in stealing lol.

Edited Bykostova - Friday, 2009 October 02, 3:04 AM
 
BadBoyDate: Saturday, 2009 October 03, 7:37 AM | Message # 7
Font size: A | A |
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
kostova, ty!
 
uCoz Support Forum by uCozers » uCoz » Photo Albums » Can photo tag be edited? (sml[answered])
  • Page 1 of 1
  • 1
Search:


Copyrights uCozers 2009 - 2019 To TOP
Refresh Smileys Manager