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?
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Script Feedback and Suggestion → 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?
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?
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...
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?
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.)
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.
Hi! Ok, I've got that issue with the changing of the path. I've tried using foxfirediego's advice:
I got the fix
for meu 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!
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?
Here's my test webpage.
You can see the issue
http://www.ivanmerz.hr/vijesti-test.php
Hello?
check on your ftp account if there's a .htacces file inside the thumbs folder. if so delete it.
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.
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
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.
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
You can chagne this in the image.mdu file. somewhere at the top of the file, you have some variables you need to configure.
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
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<<.
I may be newbie with PHP but I know how to download something from Internet
That link is dead . Have you tried it these days? The only thing that appears is an annoying poker commercial.
Works for me.
-Ghost-
me too.
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.
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.
I don't like wasting my time.
Guys, I apologize..I didn't mean to be ironic but I don't get it . 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?
I don't want to be offtopic with my problems but I want the advanced image module
http://democute.de.funpic.de/cute/example2...rom=&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-
CutePHP Forums → Script Feedback and Suggestion → Advanced image module for CuteNews
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.