Re: Advanced image module for CuteNews


The latest version of the image script is out.

Changes:
You can add a shadow to the thumbs.
Thumbnail creation supports JPG and GIF files.

An example thumbnail with shadow and screenshots of the script can be found in the first post.

Enjoy!  https://cutephp.com/forum/style_emoticons/default/smile.gif

Re: Advanced image module for CuteNews

VERY Cool script - now if you could just add an easy way to add hspace it would really ROCK !!!

Re: Advanced image module for CuteNews


You mean another field in image properties? I'll try. https://cutephp.com/forum/style_emoticons/default/smile.gif

What about vspace? Needed as well?

Re: Advanced image module for CuteNews

Thank you sooooooooooooooooooo much FI-DD!! Now cutenews is complete solution for me.
I hope everything will work OK because these days everything around me tends to not work properly https://cutephp.com/forum/style_emoticons/default/biggrin.gif

Re: Advanced image module for CuteNews

What about vspace? Needed as well?

Oh yes please...   https://cutephp.com/forum/style_emoticons/default/biggrin.gif

Re: Advanced image module for CuteNews


Done.  https://cutephp.com/forum/style_emoticons/default/smile.gif

Any wishes for the default values before I upload it?

Re: Advanced image module for CuteNews

Any wishes for the default values before I upload it?

5 for vspace and 15 for hspace would be cool...   https://cutephp.com/forum/style_emoticons/default/cool.gif

33 (edited by 2005-11-09 20:14:07)

Re: Advanced image module for CuteNews

Of course, can't be perfect. It would be too good to be true.
Suddenly, clickable thumb opens in a new browser windows (not in pop-up using javascript) https://cutephp.com/forum/style_emoticons/default/sad.gif https://cutephp.com/forum/style_emoticons/default/sad.gif(

Update: I can see on all pics uplodaded before updating images.mdu are working using pop-up. It seems that inserting new pics does not not include proper code...
FI-DD, can you fix it? https://cutephp.com/forum/style_emoticons/default/smile.gif

Re: Advanced image module for CuteNews

Update: I can see on all pics uplodaded before updating images.mdu are working using pop-up. It seems that inserting new pics does not not include proper code...
FI-DD, can you fix it? https://cutephp.com/forum/style_emoticons/default/smile.gif


Did you enable it by setting the variables in images.mdu to "true"?

Re: Advanced image module for CuteNews

Dummy me https://cutephp.com/forum/style_emoticons/default/smile.gif Mea culpa, mea culpa, mea maxima culpa!
I didn't even look at the file because version without gif and dropshadow had that enabled by default...
Sorry once again https://cutephp.com/forum/style_emoticons/default/wink.gif

Re: Advanced image module for CuteNews

FI-DD, you have done it again - Thank you so much for the new 'updated' version. Now I no longer need to search for a gallery script for CuteNews as it has everything one could want  https://cutephp.com/forum/style_emoticons/default/cool.gif  https://cutephp.com/forum/style_emoticons/default/biggrin.gif  https://cutephp.com/forum/style_emoticons/default/wink.gif

Re: Advanced image module for CuteNews


Small update:

1. New image properties: vspace and hspace.
2. Default value of the alt tag in image properties is the picture's name

Download it from the first posthttps://cutephp.com/forum/style_emoticons/default/smile.gif

Re: Advanced image module for CuteNews

Just got the update - but unfortunately I overwrote the last version - as the new version has a glitch.

The code inserted doubles the "href" reference so the align doesn't work.

EXAMPLE:

(After clicking to insert an image with align=right)
<DIV>javascript:popupMedia( </DIV>&lt;IMG style=&quot;BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px&quot; alt=drawn hspace=15 src=&quot;http://www.sart.co.uk/cutenews/data/upimages/thumbs/drawn.jpg&quot; vspace=5&gt;


Notice the doubling of the HREF statement?
Plus no align statement even though I had selected align right from the align options...

I've tried the same with align=left but the same HREF doubling happens and with no align statement in the html code.

Re: Advanced image module for CuteNews


Yes, there was an error with the align tag when using the wysiwyg editor. It's fixed now.

But I didn't have the double href error.  https://cutephp.com/forum/style_emoticons/default/unsure.gif

Please try again.  https://cutephp.com/forum/style_emoticons/default/smile.gif

Re: Advanced image module for CuteNews

That's fixed both problems - many thanks,
excellent work, I'll use this a lot.

Re: Advanced image module for CuteNews

thanks https://cutephp.com/forum/style_emoticons/default/smile.gif
nice

how about a delete file and thumbnail button for each

Re: Advanced image module for CuteNews


You can delete an image in Options -> Manage Uploaded images and you've got buttons for the thumbnails in Add News -> [insert image].

What else do you want to have? Please explain in detail.

Re: Advanced image module for CuteNews

Once again FI-DD I give you maximum respect for a thoroughly useful hack *bow*

This is something every cutenews should have as standard, imho.
This will no doubt come in very handy on a few of my sites, only one question sticks:
Does it work on 1.3.6 or just 1.4.1 mate ??

Thanks again...
Dubs'

Re: Advanced image module for CuteNews


Thanks again.  https://cutephp.com/forum/style_emoticons/default/smile.gif

I uploaded  a version for 1.3.6 (removed the wysiwyg stuff) but the 1.4.1 version should work as well.

45 (edited by 2005-11-17 22:45:50)

Re: Advanced image module for CuteNews

Thanks mate, have just grabbed it, will try to mess with it over the weekend https://cutephp.com/forum/style_emoticons/default/smile.gif

Hope any bugs & updates have been carried out on the 136 version as well as the 141 !! https://cutephp.com/forum/style_emoticons/default/wink.gif

Thanks & Praise...
Dubs'

Re: Advanced image module for CuteNews

First let me THANK YOU FI-DD for all this wonderfull hacks !!!
now.... I upload the script, made the changes, and works all ok, except for this tiny little thing, it just don't add the image to my post!!!!

I click on the insert image, it works ok, but when I clik on any button to add the image, the thumb or the clickeable tumb it just do nothing.

Any help?

BTW I'm using 1.36 version

T.I.A

Re: Advanced image module for CuteNews


I just tested it again with Cutenews 1.3.6 and it works fine for me.

Do you have Javascript enabled or do you use a wysiwyg editor?

48 (edited by 2005-11-18 17:38:59)

Re: Advanced image module for CuteNews

mmmm well I just try on IE and works ok.
But on Firefox I get this....

Error: opener.document.getElementById(area) has no properties
Archivo Fuente: http://......../cute/index.php?&mod=images&action=quick&area=short_story
Línea: 54

Any idea?

Re: Advanced image module for CuteNews

so any chance to get a solution for this?
;-)

Re: Advanced image module for CuteNews


Sorry, no idea.  https://cutephp.com/forum/style_emoticons/default/sad.gif