276 (edited by 2008-01-05 23:27:54)

Re: Advanced image module for CuteNews

ah, basicly you want this html code
<div style="float:left;"><img src=""></div>

In images.mdu find this

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;

and aply the div

must be something like this as i haven't tested it. because of all those \ before " it's a bit confusing

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

277

Re: Advanced image module for CuteNews

ahh, right, this does a similar thing tho, as the "insert image" action still actually drops the div inside the short story area, as seen in attachment

what i really need is to figure out how to get into "show news" and have it pull the thumb for the story and place it in a div next to the div for the headline and body copy.

i guess my problem is figuring out where this data is stored so i can figure out how to grab it all

im on it tho...

Re: Advanced image module for CuteNews

but to do that you'dd need to know where in the template you need to add the thumbenail. But you can't do that form the add news page.
Unless you use the avatar field. Then you'dd be able to use the avatar tag.

Re: Advanced image module for CuteNews

it shows me this:[codebox]Warning: getimagesize(): Unable to access ./data/upimages/thumbs/055232e5b58[1].jpg in /www/data06/users/s/srsk.planet.ee/htdocs/cutenews/inc/images.mdu on line 571 Warning: getimagesize(./data/upimages/thumbs/055232e5b58[1].jpg): failed to open stream: No such file or directory in /www/data06/users/s/srsk.planet.ee/htdocs/cutenews/inc/images.mdu on line 571 [/codebox]

thing is, i have the thumbs directory, so whats the problem?

Re: Advanced image module for CuteNews

thing is, i have the thumbs directory, so whats the problem?

OK you have the directory, but do you have that image in there?

281

Re: Advanced image module for CuteNews

Image Module installed alright, and does get a picture in a post for me... but...

- when uploading a file, my pop-up blanks out and status in bottom left says 'done'
( I have to close the pop-up, then hit 'insert image' again to see that my picture did indeed upload to the size I specified -and at this point, I can double-click to insert it)
Why do I have to close the pop-up and re-open to view anything?

- the 'add shadow' doesn't work

Any insight appreciated...

Thanks,
Bij

Re: Advanced image module for CuteNews

Great hack.

Keep up the good work, man!

Thank you very much.

283 (edited by 2008-02-18 13:11:12)

Re: Advanced image module for CuteNews

Hi,

This is great hack and I think you should put link of this hack on Hack forum:
http://cutephp.com/forum/index.php?showtopic=1855


There is old hack which work just on 1.3.6 CN version, and dont work on new 1.4.5 version (which now have it most of users).

Re: Advanced image module for CuteNews

wow, why didn't i think of that...
Oh wait, because no-one can put it in the hacks section of the forum;
There are NO moderators on this forum anymore.

285

Re: Advanced image module for CuteNews

Is that work for 1.4.5 ?

Re: Advanced image module for CuteNews

yes...

Re: Advanced image module for CuteNews

how Can I arrange image by date
from new to old

coz after upload I don no where My Image in any page

Re: Advanced image module for CuteNews

you can't

Re: Advanced image module for CuteNews

http://cutephp.com/forum/style_emoticons/default/laugh.gif  ok you Can ?

or

make same Defrent afer uploaded file

View Link of file on Click insert it (insert->)

I wish do this plz

Re: Advanced image module for CuteNews

no, i wouldn't know how to do it. You can only read the images in a directory by name --> only sorting by name is possible.
But how can you not know what image you just uploaded, The name of the just uploaded file appears under the uplaod box.

291

Re: Advanced image module for CuteNews

FUNimations

Thanks u for helping us man u really

I have a problem with my this hack it's when me or some of my team try to uplaod a pic it doesn't appear what should i do ?

that's specially happened with pic in big size like 300 kb or when i try to upload than on image

Re: Advanced image module for CuteNews

pic in big size like 300 kb

Try uploading such a file adn check with your ftp client if the image is indeed on the server.
It could be that your server has a max filesize upload restriction in place. That's something you should ask your host about.

If it is indeed on the server, try chmodding it to 777
And see if it shows up in the image module then. (some people experinced only this chmodd setting would work, though there is no reason why it shouldn't work with lower values.

Re: Advanced image module for CuteNews

I do Some Edit in This hack

Can Uploaded to forum

I add

link of last Image you Upload same Defrent

& afer Click on Insert Image Windo of Image Dont Closed

Any one want that?

Re: Advanced image module for CuteNews

Does this even work on CuteNews v1.4.6?
I've tried to apply it for a friend and when I upload a image it gives me a blank screen in the Cutenews admin layout and nothing happens. It does upload the normal image, but there's no thumbnail creation and for some strange reasons it doesn't show in the image page either.
What do I have to do to make it workable with CuteNews v1.4.6?

I'm also using the WYSIWYG editor and hope it's also useable with that?

Re: Advanced image module for CuteNews

CN 1.4.5 and  1.4.6 is the same. except for some security fixes. No Code in the addnews/editnews was changed. Yes it works.

Re: Advanced image module for CuteNews

Thanks for the reply.

Well I thought it was the same, but somehow the image upload page is pretty fucked up when I try uploading a image. Maybe it's just cause I use a "server" program on the computer to test it out while making the page. I'll try it on my webserver when I get home and see if it works better there. I've used this on another version of Cutenews before and I recall it worked perfectly there http://cutephp.com/forum/style_emoticons/default/smile.gif

So it works with WYSIWYG editor also? I guess that was what you replied yes to, but I just had to be sure http://cutephp.com/forum/style_emoticons/default/smile.gif

Re: Advanced image module for CuteNews

CN comes with a wysiwyg. It would be very stupid if it wouldn't work with that...
Unless i'm missing what you're trying to ask.

Re: Advanced image module for CuteNews

Well I just though since this was a hack or whatever to the script it wasn't certain if it worked with the WYSIWYG or not. I know the Cutenews script works with it, but does this Advanced Image Module work with it?

Re: Advanced image module for CuteNews

yes

300 (edited by 2008-08-26 15:31:54)

Re: Advanced image module for CuteNews

Hi guys,
I installed this mod but it doesn't work http://cutephp.com/forum/style_emoticons/default/sad.gif
When I try to upload an image, the windows gets blank and I can't see any uploaded images even if they were uploaded to the server. I read all the topic but I can't find a solution http://cutephp.com/forum/style_emoticons/default/sad.gif
Can somebody help me? I use cutenews v. 1.4.5

Posts: 276 to 300 of 427

Pages Previous 1 10 11 12 13 14 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.