imgae parameter

Post Reply
blogster888
Posts: 47
Joined: Thu Jul 25, 2013 12:15 pm

imgae parameter

Post by blogster888 »

http://smartcj.com/wiki/doku.php?id=new ... _templates

on this site under the point "For custom galleries "

there iare display some parameters about images

Code: Select all
<!--IMG_1_IMAGE-->
<!--IMG_1_THUMB-->
<!--IMG_1_THUMB_X-->
<!--IMG_1_THUMB_Y-->


<!--IMG_2_IMAGE-->
<!--IMG_2_THUMB-->
<!--IMG_2_THUMB_X-->
<!--IMG_2_THUMB_Y-->

what can do for X or Y ??
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: imgae parameter

Post by admin »

Width and height
Don't forget to run script update
blogster888
Posts: 47
Joined: Thu Jul 25, 2013 12:15 pm

Re: imgae parameter

Post by blogster888 »

can you please write the syntax.

<!--IMG_1_THUMB_100-->
<!--IMG_1_THUMB_200-->

<!--IMG_1_THUMB_100x200-->

this is parameter for one pic ??
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: imgae parameter

Post by admin »

No , it means thumb_size_x will output 200 for example.
Don't forget to run script update
blogster888
Posts: 47
Joined: Thu Jul 25, 2013 12:15 pm

Re: imgae parameter

Post by blogster888 »

try this without result, please write an example for an image taht have width=100 height=200

thx
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: imgae parameter

Post by admin »

Ok, show me how you test it plz
Don't forget to run script update
blogster888
Posts: 47
Joined: Thu Jul 25, 2013 12:15 pm

Re: imgae parameter

Post by blogster888 »

<a class="thumb" href='<!--IMG_1_IMAGE-->'><img src='<!--IMG_1_THUMB_100-->'></a>
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: imgae parameter

Post by admin »

You can use ONLY

<!--IMG_1_THUMB_X-->
<!--IMG_1_THUMB_Y-->

you can not replace X with some numbers.
Don't forget to run script update
Post Reply