Page 1 of 1

Image Rotator - Invalid XHTML

Posted: Thu Jan 24, 2008 5:39 pm
by hexdj
Using the image_rotator plugin will invalidate XHTML because it gives all of the rotating images the same ID.

Alby: There you go
;D

Re: Image Rotator - Invalid XHTML

Posted: Fri Jan 25, 2008 3:30 pm
by alby
hexdj wrote: Using the image_rotator plugin will invalidate XHTML because it gives all of the rotating images the same ID.

Alby: There you go
;D
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

Re: Image Rotator - Invalid XHTML

Posted: Fri Jan 25, 2008 7:34 pm
by hexdj
Thanks Alby, now it Validates  ;D

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!

Re: Image Rotator - Invalid XHTML

Posted: Fri Jan 25, 2008 9:10 pm
by alby
hexdj wrote: 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: Select all

{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"}
hexdj wrote: 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  ::)

Alby

Re: Image Rotator - Invalid XHTML

Posted: Mon Jan 28, 2008 8:11 pm
by kendo451
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

Re: Image Rotator - Invalid XHTML

Posted: Mon Jan 28, 2008 8:15 pm
by alby
kendo451 wrote: 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

Re: Image Rotator - Invalid XHTML

Posted: Wed Dec 31, 2008 11:01 am
by stefsegers
Hi Alby,

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

Stef

Re: Image Rotator - Invalid XHTML

Posted: Fri Sep 18, 2009 1:01 pm
by Rolf
Thanks for the new 1.7 file, Alby!
Everything is working fine now and XHTML valid again  ;D

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

Re: Image Rotator - Invalid XHTML

Posted: Tue Sep 22, 2009 12:05 am
by paulbaker
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 ... 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!   ;D

Re: Image Rotator - Invalid XHTML

Posted: Fri Jun 11, 2010 6:50 am
by johnkarlsson
Great work.

Just one problem, been away on vacation for a couple of months and seem to have forgot a couple of things.
I simple just get error when trying to add the code into a tag?

Anything I should remove?

Cheers

EDIT
Nevermind, to early. Forgot this was a plugin. Hehe.