4images Forum & Community
International => Français => Topic started by: Misteroiz on January 01, 2008, 03:58:20 PM
-
Bonjour la team, je cherche sur le forum mais je ne trouve pas.
Voila j'ai des grosses images qui font plus de 3000 Pixel et ca prend trop de place dans la page de details y a t'il un code pour modifier et rendre l'image en apercu simple et miniaturisé proportionnelement.
Cordialement Misteroiz
-
Bonjour,
En ACP, vous pouvez personnaliser les images ou automatique à la police Resizer.
Ou bien utiliser cet outil :arrow: http://www.4homepages.de/forum/index.php?topic=7700.0
Ou ici :arrow: http://www.4homepages.de/forum/index.php?topic=8517.0
nobby
-
Je ne pense pas que ce soit cela , car je veu juste miniaturisé la photo dans la page de Details, remplacé la ligne {image} par un bout de code je pense que cela est possible.
-
remplacé la ligne {image} par un bout de code je pense que cela est possible.
In includes/functions.php file,
find:
"image" => get_media_code($image_row['image_media_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, $detailed_view),
;)
-
Merci mais cela ne me dit pas comment dire en code php la hauteur et largeur maxi qu'il peu utilisé :(
-
Hum ... if need for say width and height - is like this ...
use {width} and {height} in details.html file. ;)
-
Could you tell me the exact code because I do conais not PHP, unfortunately.
Thank you for your valuable assistance
-
Exact code in PHP - includes/functions.php file is this:
$width_height = " ".$image_info[3];
$width = $image_info[0];
$height = $image_info[1];
;)
-
I am totally lost
-
Could you tell me the exact code because I do conais not PHP, unfortunately.
Thank you for your valuable assistance
I am totally lost
You ask for exact code ... I post ... but if need for say width and height of image ... you no need PHP for this ... you need say {width} and {height} in template. ;)
-
i replace this code
$width_height = " ".$image_info[3];
$width = $image_info[0];
$height = $image_info[1];
to
$width_height = " ".$image_info[3];
$width = 500;
$height = 500;
??
-
Ohh ! so you want set max width and height size for each image ? If so, solution is use auto-image resizer MOD from V@no. Nobby post is correct. With auto-resize, you set max width and height size for upload. ;)
-
Yes, but for the download must be kept good height and width dimension of origin is or there is the problem.
The code of height and width is just for the front page details only.
-
Yes, but for the download must be kept good height and width dimension of origin is or there is the problem.
The proportion is kept good for image structure. If download resize version, image is no alter. Integrity is good. ;)
The code of height and width is just for the front page details only.
This is right. If use {width} and {height} for frontpage, is show live reduce size of image from auto-resize image MOD. Is purfect solution. ;)
[edit] - I think upload size is edit in ACP - > setting page. ;)
-
Bonjour, Misteroiz;
j'ai eu ce cas et ai résolu mon problème en modifiant mon fichier templates/mon_template/media/jpg.html comme suit, ayant besoin d'images redimensionnées à 520 pixels de largeur, tout en utilisant le script java Lightbox.js (http://www.huddletogether.com/projects/lightbox/):
<a href="{media_src}" target="_blank" rel="lightbox" title="{image_name}"><img src="{media_src}" border="1" alt="{image_name}" width="520" /></a><img src="{template_url}/images/spacer.gif" width="1" height="2" /><br />
N'hésitez pas à me solliciter en cas de besoin.
Bien à vous, et bonne année à tous.
-
Cool voila le code qu'il me fallais :p
Merci a toi
-
Manurom peut mieux le français que moi, Merci :wink:
nobby
-
A charge de revanche :wink:
Hey, nobby, many thanks for your help!
Bonne année à tous.
Happy new year to you all.
¡Feliz aňo nuevo a todos!