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


Recent Events
  • 25/11/2021 Black Friday Promotion

    BIG SALE, 35% discount for all our extensions. Use BF21 coupon code. Hurry up the discount is valid till 1 December.

  • 30/04/2021 Important information

    We transferred to another hosting so if you are experiencing any problem let us know. We will fix it as soon as possible.


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 10 Years, 5 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 10 Years, 5 Months ago Karma: 736
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 10 Years, 5 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 10 Years, 5 Months ago Karma: 736
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 10 Years, 5 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 10 Years, 5 Months ago Karma: 736
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