Intechnic
Users Developers
Home / Forums / In-Portal CMS / Need Help! / in-news: can't add images / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

in-news: can't add images (10)


Posted: 11/13/2004 2:48:02 PM

Reply Quoted  


Images don't show after uploading.

In the resulting html page the image path is: src=http://mysite/kernel/images/noimage.gif

They don't show up in directory kernel/images

Posted: 11/14/2004 3:31:48 AM

Reply Quoted  


Same problem here. I'm still not sure it works the right way.

Posted: 11/14/2004 5:03:54 PM

Reply Quoted  


Please make sure your directories 'kernel/images' and 'kernel/images/pending' are writable for the web server (a simple way on Linux is to set the mask to 777, 'chmod -r 777 kernel/images' when you are in the in-portal directory).

In-portal uploads the images first under the 'pending' directory, and then moves them to the 'images' when you save the item.

Posted: 11/15/2004 2:51:12 PM

Reply Quoted  


chmod 777 kernel/images/pending solves the problem, thanks.

But when I save the image I get "Session Expired" and login screen.

The same happens when I change the name of a category. PLease try yourself, your admin account is still the same.

Posted: 11/16/2004 12:05:30 PM

Reply Quoted  


I don't get the "session expired" problem, but I i can replicate images getting lost. We are looking into this as a bug report.

Posted: 11/16/2004 12:53:03 PM

Reply Quoted  


Adding images works fine in 1.06

Posted: 12/23/2004 1:40:32 PM

Reply Quoted  


Adding images to the pending category seems to work fine now. Unfortunately it seems I can't add images to articles.Every time I try to look on the server for the images I just uploaded the pop-up the opens leads me to the admin login box. Same happens when when I try to upload them from the editor.

In-Portal version is the latest one (0.7). Is there something I am doing wrong? I hope it is it as I told the dev team of this problem when I was still beta testing.

Posted: 12/27/2004 2:09:58 PM

Reply Quoted  


Hi,

I think you are trying to use the wrong control. If you are talking about the Image button in FCK - this button does not work, and we left it there by mistake. With the next release it will be gone. The correct way of adding images is a little bit more complicated - you have to create the image under the article, and then use it with the appropriate tag by name.



Posted: 12/28/2004 8:07:06 AM

Reply Quoted  


Would you be so kind to tell me the tag syntax? I mean: I hope I wont have to call the picture by the <img> tag and "normal" URL reference. I hope instead that it is something like Mambo: you just have a simple tag to place your added image to the article ones.

I swear I tried to do my best with my english...

Posted: 01/03/2005 8:10:24 PM

Reply Quoted  


MrDisaster wrote:12/28/2004 8:07:06 AM
Would you be so kind to tell me the tag syntax? I mean: I hope I wont have to call the picture by the <img> tag and "normal" URL reference. I hope instead that it is something like Mambo: you just have a simple tag to place your added image to the article ones.

I swear I tried to do my best with my english...


Hello,

I believe the following tag in your atricle should return a Prmary image:

<img src="<inp:article _field="image" _Primary="1" />">


Let me know how it works.

[Edited By Dmitry on 01/03/05 8:11:02 PM]