Welcome, Guest. Please login or register.
Did you miss your activation email?
19 Mar 2010, 02:29

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: Image Rotator - Invalid XHTML  (Read 8362 times)
0 Members and 1 Guest are viewing this topic.
hexdj
Power Poster
***

Karma: 3
Offline Offline

Posts: 380

Location: Long Beach, CA



WWW
« on: 24 Jan 2008, 12:39 »

Using the image_rotator plugin will invalidate XHTML because it gives all of the rotating images the same ID.

Alby: There you go
 Grin
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 139
Offline Offline

Posts: 4687

Location: Ferrara, Italy


My kids


« Reply #1 on: 25 Jan 2008, 10:30 »

Using the image_rotator plugin will invalidate XHTML because it gives all of the rotating images the same ID.

Alby: There you go
 Grin

In attach there is a testing version 1.7

- Add images_only param (overwrite search image files and use this images only in same order). It's comma separated of filename image. Example: images_only="1.jpg,2.jpg,3.jpg"

- Add background (rotator=new only) param with a rotator_placeholder div. It's RGB hex code. Example: #ff0000

- Bugfix for avoid XHTML validation (rotator=new only)

Please test this tag. Rename file to .zip


EDIT: there is a 1.7b that with insensitive case


Alby

* function.image_rotator.mpg (5.31 KB - downloaded 451 times.)
* function.image_rotator.1.7b.mpg (5.31 KB - downloaded 333 times.)
« Last Edit: 12 Sep 2008, 02:52 by alby » Logged

hexdj
Power Poster
***

Karma: 3
Offline Offline

Posts: 380

Location: Long Beach, CA



WWW
« Reply #2 on: 25 Jan 2008, 14:34 »

Thanks Alby, now it Validates   Grin

A couple of notes
1. Alt Doesn't seem to work, no matter what I write it always says Image Rotator, but Title does work
2. I couldn't tell if Background was working, no matter what color I used it looked the same in the transition.

Thanks for the update!
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 139
Offline Offline

Posts: 4687

Location: Ferrara, Italy


My kids


« Reply #3 on: 25 Jan 2008, 16:10 »

1. Alt Doesn't seem to work, no matter what I write it always says Image Rotator, but Title does work

Works for me, I have:
Code:
{image_rotator folder="uploads/images/img_roll" width=195 height=142 images_only="1.jpg,2.jpg,3.jpg" rotator="new" alt="test-alt" title="test-title"}


2. I couldn't tell if Background was working, no matter what color I used it looked the same in the transition.

This is a report from kendo451 when using a dialup line (very slow line)
I had not notated  Roll Eyes

Alby
Logged

kendo451
Power Poster
***

Karma: 5
Offline Offline

Posts: 323

Location: Mendota, Virginia



« Reply #4 on: 28 Jan 2008, 15:11 »

I try to download version 1.7 in your attachment, Alby, but it is corrupt or something.  Can you attach it as a txt file?

Thanks,
Ken
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 139
Offline Offline

Posts: 4687

Location: Ferrara, Italy


My kids


« Reply #5 on: 28 Jan 2008, 15:15 »

I try to download version 1.7 in your attachment, Alby, but it is corrupt or something.  Can you attach it as a txt file?

Rename to .zip

Alby
Logged

stefsegers
Forum Members
**

Karma: 0
Offline Offline

Posts: 84


« Reply #6 on: 31 Dec 2008, 06:01 »

Hi Alby,

Is you new ImageRotator using the NEW Xfade or the old one?
The new one also works on Safari!!

Stef
Logged
Rolf
Dutch Translations Admin
Dev Team Member
Power Poster
*****

Karma: 28
Offline Offline

Posts: 1806

Location: Assen, The Netherlands



WWW
« Reply #7 on: 18 Sep 2009, 09:01 »

Thanks for the new 1.7 file, Alby!
Everything is working fine now and XHTML valid again  Grin

But a small question, why isn't this 1.7 version available in the Forge?
The latest version there is still 1.6...

Grtz. Rolf
Logged
paulbaker
Forum Members
**

Karma: 1
Offline Offline

Posts: 45

Location: Maidenhead, UK



« Reply #8 on: 21 Sep 2009, 20:05 »

Just wanted to thank Alby for posting this......just installed and works nicely, displaying all images within a folder.

Had trouble with it at first but then spotted TinyMCE (WYSIWYG editor) had put <code> ... </code> tags around my smarty tag, which seemed to be causing the problems - removed that and it all works great.

I would second Rolf's question as to why this is not in the forge for others to see.

Thanks again Alby!   Grin
Logged
Pages: [1]
Print
Jump to: