|
Posted by Kim Andrι Akerψ on 01/15/86 11:30
olivier wrote:
>
> >
> > Just edit the image itself in your favourite image editor.
> >
>
> Ok this is what I want not to do !
> I dont want to modifie the origal picture and want to avoid
> duplication by creating picture2 with left orientation
> and picture3 with right.
>
> In fact I just print a set of picture with several orientation
> in my page and want to allows the user to turn them by clicking a
> button.
>
> If no way with pure html is there a way with css or javascript ?
Pure HTML or a hack with CSS and/or JavaScript won't help you either.
You can either make two separate images for each rotation you want to
use, which can be done in your favorite image editor, or using a
server-side programming language.
The latter solution requires a minimum of programming knowledge, as
well as access to use a scripting language (such as PHP, ASP or Perl)
on your hosting account. Please note that graphics libraries must be
installed on the server for such a function to work.
As an example, if you're able to use PHP (version 4.3.0) on your
hosting account, this function (along with the example code listing
shown) will be able to help you out on this issue:
http://php.net/imagerotate
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|