Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Install Java Script for changing thumbnail look
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Install Java Script for changing thumbnail look
#18242
Install Java Script for changing thumbnail look 12 Years, 7 Months ago Karma: 0
I would like to use a java script that add's a reflection to pictures. Is it somehow possible, to get pretty photo working with it, so that the thumbnails which pretty photo is showing will be edited by this script first?

the code would be:
Code:

<img src="http://www.spotcatch.net/picture.jpg" class="flec height35 ropa45" width="400" />
The administrator has disabled public write access.
 
#18253
Re:Install Java Script for changing thumbnail look 12 Years, 7 Months ago Karma: 746
We can't provide exact answer because we don't how your reflection script is implemented.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#18452
Re:Install Java Script for changing thumbnail look 12 Years, 7 Months ago Karma: 0
It's just a normal Java Script, which is activated via index.php.
If i want to add an reflection, i have just to append the line class="flec height35 ropa45" to the HTML code of an embedded image.

All i need to know now is, if i could add this little code at the point where ARI Pretty Photo is creating the thumbnails and where i can find this part of code in Pretty Photo.
The administrator has disabled public write access.
 
#18453
Re:Install Java Script for changing thumbnail look 12 Years, 7 Months ago Karma: 746
We can not guarantee that it will work because we don't know what your script to do with images. We can recommend to check it on simple image. For this install, configure and enable "System - ARI Pretty Photo" plugin and insert the next code into an article:

Code:


<a href="http://www.ari-soft.com?iframe=true&width=650&height=400" rel="prettyPhoto"><img src="PATH_TO_THUMBNAIL" class="flec height35 ropa45" /></a> 



Where PATH_TO_THUMBNAIL is path to thumbnail.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#18454
Re:Install Java Script for changing thumbnail look 12 Years, 7 Months ago Karma: 0
Ok, this is working, see here (last pic)
www.spotcatch.net/

How could i add this for a gallery, not just for a single pic? (of course i understand, that you can not guarantee that it is working )

thanks for helping!
Last Edit: 2011/12/21 08:51 By eraz.
The administrator has disabled public write access.
 
#18455
Re:Install Java Script for changing thumbnail look 12 Years, 7 Months ago Karma: 746
Download and upgrade "ARI Pretty Photo" module and "System - ARI Pretty Photo Anywhere" plugin. New version contains new parameter "Simple gallery -> Image class". You can enter CSS classes for image in this parameter.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12