Re: Advanced image module for CuteNews

...a little bump...To clarify my previous question.

Is there anyway for users to create new folders to upload their images into?

Re: Advanced image module for CuteNews

It did work perfectly, but suddenly it won't show all my uploaded images. It only shows the two first images in the list, and nothing further. No "total size" either. (I have checked the upimage-folder. All the files are still there). I've tried to replace the images.mdu with the original from the zip-file, but it doesn't help. Any ideas?

Re: Advanced image module for CuteNews

It did work perfectly, but suddenly it won't show all my uploaded images. It only shows the two first images in the list, and nothing further. No "total size" either. (I have checked the upimage-folder. All the files are still there). I've tried to replace the images.mdu with the original from the zip-file, but it doesn't help. Any ideas?

Sorted it out my self. There was a corrupted image, causing the page not to show anything below where it should have been in the list. I guess i should have thougt of that before...

Re: Advanced image module for CuteNews

Now, however, I'm experiencing a new problem. My uploaded pictures won't show. When I'm trying to access them by typing the URL, I'm getting the message "You don't have permission to access [url] on this server." Can someone help me?

Re: Advanced image module for CuteNews

You don't have permission to access [url] on this server

that's because of the .htacces file. delete  it from the folder. (note that the file is a hidden file, so make sure that hidden files are also shown in your ftp client.)

Re: Advanced image module for CuteNews

I LOVE THIS IMAGE MANAGER! 

It works great except for one thing.  I get PHP errors when attempting to name the folders with spaces in them.  I discovered putting an underscore instead of a space works.  However, it displays the underscores in the media manger I am using and that is not desirable.

For example:

My Photos = gives PHP error (notice truncation in error below)
My_Photos = no error/displays title with underscore in media manager

MY QUESTION IS: How can I tell it to recognize the spaces as part of the folder name?

Here is the PHP error:

Warning: opendir(./data/upimages/My) [function.opendir]: failed to open dir: No such file or directory in /home/lynxmusi/public_html/portal/inc/images.mdu on line 778

Warning: readdir(): supplied argument is not a valid Directory resource in /home/lynxmusi/public_html/portal/inc/images.mdu on line 780

Warning: opendir(./data/upimages/My) [function.opendir]: failed to open dir: No such file or directory in /home/lynxmusi/public_html/portal/inc/images.mdu on line 778

Warning: readdir(): supplied argument is not a valid Directory resource in /home/lynxmusi/public_html/portal/inc/images.mdu on line 780

I thank you for any help you can offer.

232 (edited by 2007-05-29 16:20:33)

Re: Advanced image module for CuteNews

Hi! Ok, I've got that issue with the changing of the path. I've tried using foxfirediego's advice:

I got the fix  https://cutephp.com/forum/style_emoticons/default/smile.gif
for me  https://cutephp.com/forum/style_emoticons/default/tongue.gif

u can try do this:

[OPEN]
index.php

[FIND]
config_path_image_upload        = "./data/upimages";

[REPLACE WITH]
$config_path_image_upload        = "data/upimages";

[SAVE & CLOSE]

[OPEN]
inc/images.mdu

[FIND]
finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"$config_path_image_upload/

[IN-LINE ADD]
finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"YOUR_DIR/$config_path_image_upload/

[FIND]
$link1 = htmlspecialchars('<a target="_blank" href="'.$config_path_image_upload.'/'.$file.'">');

[IN-LINE ADD]
$link1 = htmlspecialchars('<a target="_blank" href="YOUR_DIR/'.$config_path_image_upload.'/'.$file.'">');

[SAVE & CLOSE]

ps: YOUR_DIR means NEWS, NOTICIAS, or where u put your cutenews folder! https://cutephp.com/forum/style_emoticons/default/smile.gif

but I get more than one error with it.
First of all, when I change the path in index.php, all I get is having my thumbnails turned into text links (although it's inside a box similar to the image)

Secondly, and most possibly connected to this one, I can't do changes in image.mdu properly. You see, where in your code it says
finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"$config_path_image_upload/

in myne it says

finalImage = link1 +\"<img border=\\\"\"+ imageBorder +\"\\\" align=\\\"\"+ imageAlign +\"\\\" alt=\\\"\"+ alternativeText +\"\\\" hspace=\\\"\"+ hSpace +\"\\\" vspace=\\\"\"+ vSpace +\"\\\" src=\\\"".$config_http_script_dir.substr($config_path_image_upload, 1)."/\"+ path +\"\"+ selectedImage +\"\\\">\" + link2;

Now, I've tried changing this in different ways, but I always end up with the same result: none. Same goes for the other piece of code that goes like this in the version I downloaded today

$link1 = htmlspecialchars('<a target="_blank" href="'.$config_http_script_dir.'/data/upimages/'.($folder == '' ? '' : $folder.'/').$file.'">');

Any tips?

Re: Advanced image module for CuteNews

Here's my test webpage.
You can see the issue
http://www.ivanmerz.hr/vijesti-test.php

Re: Advanced image module for CuteNews

Hello?

235 (edited by 2007-06-04 14:51:46)

Re: Advanced image module for CuteNews

check on your ftp account if there's a .htacces file inside the thumbs folder. if so delete it.

236 (edited by 2007-06-04 18:04:27)

Re: Advanced image module for CuteNews

check on your ftp account if there's a .htacces file inside the thumbs folder. if so delete it.

There does not need to be an .htaccess file inside the thumbs directory. There should be one inside the parent upimages directory, which is needed otherwise the one in the data directory will block all access.
.htaccess files affect all items in the directory in which you place them, including sub-directories. If there is not one present then the .htaccess file in the directory immediately above will apply.
The one in the upimages directory should read:

order allow,deny
allow from all

If this is not there then that my be why you cannot see the images.

237

Re: Advanced image module for CuteNews

Hi there!
Is it possible to open clickable thumbs with Highslide JS - or with a popup window?

it's a nice script you find
There is another one like that
http://www.dynamicdrive.com/dynamicindex4/...tbox2/index.htm

it could be a great feature

238 (edited by 2007-08-05 05:20:03)

Re: Advanced image module for CuteNews

I get this error message:

Warning: opendir(data/watermark) [function.opendir]: failed to open dir: No such file or directory in /srv/www/htdocs/web64/html/cute/inc/images.mdu on line 326

Warning: readdir(): supplied argument is not a valid Directory resource in /srv/www/htdocs/web64/html/cute/inc/images.mdu on line 327

on line 326 and 327:

$dir = opendir("data/watermark");
while ($single_file = readdir($dir)){

I have 1.4.5

Did you fix it?? i have the same problem.
Edit: I didn´t have the watermark folder, i created it and fixed the problem.

Re: Advanced image module for CuteNews

Ok.... So i installed the new image module and changed the things you told me to so that it works with firefox. After i change the code, I get this error when trying to make/edit a post. "Error You Cannot leave story blank". But when I change the code back to the original code then it works on every browser but firefox. I know that I can get it to work on firefox because I tried out your demo on firefox and it worked fine. I don't know what you did differently. I'm thinking that there is something else I have to change but I don't know where. Any help would be greatly appreciated... Thanks in advance...

- Dan

Re: Advanced image module for CuteNews

You can chagne this in the image.mdu file. somewhere at the top of the file, you have some variables you need to configure.

Re: Advanced image module for CuteNews

Hello everybody!
I've searched all over this forum and I couldn't find a valid link to download the advanced image module. Maybe I'm wrong but FI DD's page pointed in the first post isn't working anymore. (http://democute.de)
Could someone upload once again the image module or at lest indicate another link?
I use CuteNews 1.4.5

Re: Advanced image module for CuteNews

Go back to the very first post by FI-DD and click on the link at the bottom, which is in large black type called >>Download page<<.

Re: Advanced image module for CuteNews

I may be newbie with PHP but I know how to download something from Internet https://cutephp.com/forum/style_emoticons/default/dry.gif
That link is dead https://cutephp.com/forum/style_emoticons/default/dry.gif . Have you tried it these days? The only thing that appears is an annoying poker commercial.

Re: Advanced image module for CuteNews

Works for me.

-Ghost-

Re: Advanced image module for CuteNews

me too.

Re: Advanced image module for CuteNews

Have you tried it these days?


If I had not tried it and found it to be working I would not have posted the reply.
I don't like wasting my time.
https://cutephp.com/forum/style_emoticons/default/dry.gif

Re: Advanced image module for CuteNews

Hi there!
Is it possible to open clickable thumbs with Highslide JS - or with a popup window?

Aready been posted:
https://cutephp.com/forum/index.php?showtopic=19619

Works perfectly.

Re: Advanced image module for CuteNews

I don't like wasting my time.

Re: Advanced image module for CuteNews

Guys, I apologize..I didn't mean to be ironic but I don't get it https://cutephp.com/forum/style_emoticons/default/dry.gif . Isn't the Internet a global network? I am from Romania and I repeat, the link from the first post takes me here: http://404.funpic.de/403.html.
I put a screenshot of my browser. Could be a problem from my ISP? https://cutephp.com/forum/style_emoticons/default/blink.gif
I don't want to be offtopic with my problems but I want the advanced image module https://cutephp.com/forum/style_emoticons/default/huh.gif

Re: Advanced image module for CuteNews

http://democute.de.funpic.de/cute/example2...rom=&amp;ucat=6 <--- that linkie? If so you prolly have something called mDNSresponder installed which is a nasty bit of spyware that changes DNS replies.

-Ghost-

Posts: 226 to 250 of 426

Pages Previous 1 8 9 10 11 12 18 Next

You must login or register to post a reply

CutePHP Forums → Script Feedback and Suggestion → Advanced image module for CuteNews



The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.