Page 1 of 2
enhance image handle possible?
Posted: Fri 4. Feb 2005, 11:03
by cyrano
Hi Oliver,
might it be possible to give a wider range for image handling?
What i recognised:
I need one image 4 times in a row, but have to upload 4 images to be able to set them into one line - so it seems that these images (each are equal) must be uploaded 4 times to use them.
So it is not psooible to use one image more than i times, and the same visual image must be downloaded x-times when using the same image.
Any chance to give this another handling? or not possible because of the ID for the images in DB?
Thank you for a describtion.
Posted: Fri 4. Feb 2005, 20:52
by Oliver Georgi
Hehe - old install did so

- I will implement it again.
Oliver
Posted: Fri 4. Feb 2005, 21:12
by cyrano
fine oliver - thank you.
Posted: Fri 4. Feb 2005, 22:09
by Oliver Georgi
Hope you need it for image list only - makes no sense for ecard and image rollover (or...?).
But solved for image list.
http://www.phpwcms.de/support/cnt2.readform.inc.zip
Oliver
Posted: Fri 4. Feb 2005, 22:13
by cyrano
hi oliver thank you very much, will install it immediately :-)
no i don't want to use it with image content part, for ecard and rollover i haven't found a need - till now ;-)
works great :-)
Posted: Sun 6. Feb 2005, 13:08
by cyrano
Hi Oliver,
nedd your help again with the multiple images.
I cannot set the number of rows to another value than 1.
I select 4 but after saving the article it jumps back to 1.
Using your patched version above.
What's to do next to get this working?
EDIT: I have recognized that when using 2 different images it works; so i think it depends on using 4 equal images and their values..?
The script cannot decide that there are 4 equal images but need to use them as 4 different one...
Thank you for your advice.
Posted: Sun 6. Feb 2005, 15:04
by Oliver Georgi
this is exactly what my script is doing - maybe wait until coming next snapshot. Maybe I have changed more than is working for you at the moment.
Oliver
Posted: Sun 6. Feb 2005, 15:14
by frold
I have never seen a pic of you without your lovely kitties

Posted: Sun 6. Feb 2005, 15:15
by cyrano
hi oliver,
sorry i mean columns... when i select 4 columns it fails...
as i see you have select 1 spalte(column)
Posted: Sun 6. Feb 2005, 15:27
by Oliver Georgi
yepp, correct
in cnt2.readform.inc.php (the one posted here) line 64 enhance/change:
Code: Select all
//$temp_count_img = mysql_num_rows($img_result);
$temp_count_img = $imgx;
Oliver
Posted: Sun 6. Feb 2005, 15:43
by cyrano
hi oliver,
thanx for hinting this. got it.
Posted: Tue 8. Feb 2005, 13:47
by Pixelchaos
Since this is closely related:
Are there any plans to be able to select border on/off for images in the cms?
Posted: Tue 8. Feb 2005, 14:08
by Oliver Georgi
use CSS!!! Then you can control borders much better - the normal border="" is not useful. Check source and you will see that you can set a class.
Oliver
Posted: Wed 9. Feb 2005, 10:21
by Pixelchaos
Edit: Ignore me, it already works

Posted: Wed 13. Jul 2005, 13:59
by oeconom
Is the function to re-use the same picture file multiple times already integrated into dev 1.2.3, or do I also have to use the above file?
Thanks,
FELIX