Click to See Complete Forum and Search --> : how to get images created and saved in xp published to linux web server???


marvc
06-12-2003, 09:56 AM
Apologizes in advance if this is the wrong forum for this post.
I have a slight problem where I'm trying to create a web page, which is something I'm new at, using DWMX on my xp box. I create an image using Xara 3D5 and insert it into the DWMX doc. I'm editing and saving the docs directly to the linux web server via a shared drive thru samba. So I can save the file in DWMX and it's published to the server immediatly for viewing. Well all works fine except the image doesn't appear on the web page. It appears in the DWMX console after I save it, but not on the actual page. I've checked and confirmed that it's in the correct directory, which is /images/image. At this point I'm not sure what the problem is. Does anyone know what else I could check on either end to resolve this issue? I'm thinking it's something simple but I'm at the point where I've spent too much time trying to get it to work so I'm making it harder than it really is.

Any responses are appreciated.

darkhunter
06-12-2003, 01:32 PM
Any code would be useful.

marvc
06-12-2003, 05:17 PM
Sorry for not posting the code but it was just 1 image I added to my dwmx console for the sake of seeing how it would look online. It does appear to be a permissions issue as I attempted to navigate to the image via the web browser and got a Forbidden error: You don't have permission to access /images/nusolmnlogo1.gif on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
The other problem is that this image no longer appears in the DWMX console after changing the source path. hmph!
Actual image location on linux web server - /wwwroot/htdocs/public/domain/images/image.gif

Mapped samba share on XP box - Y:\public\domain\images

img src in dwmx console - <img src="http://www.nusolutions.biz/images/nuSolmnlogo1.gif" width="163" height="48">

My guess is that this is wrong. I was using 765 for permissions set the domain directory, which I was thinking would carry down to the sub directories. I've since chmod 705 on just the images directory, but it didn't change anything. Do I have to create this share in the smb.conf file and then assign the permissions to it?

tia

darkhunter
06-13-2003, 10:43 AM
What about just changing the code to:
<img src="./images/nuSolmnlogo1.gif" width="163" height="48" alt="image alternate text" />
(XHTML 1.1 Valid ;))

marvc
06-14-2003, 12:58 PM
I tried that and I get the same thing. The images just aren't showing.
<br /><center><a href="http://www.nusolutions.biz" target="_blank"><img src="./images/ftrlogo.gif" width="95" height="30" alt="nuSolutions" /></a></center><br />

My site is here: nubiint (http://www.nubiint.com) and the image in question is at the bottom of the page in the footer. Clicking this link opens another website on this same RH7.3 server that doesn't display the images. None of the images that I place on these pages are displaying. I've got virtual hosting & samba configured correctly. The shared directories look like this in samba:
[webdev]
comment = Web root drive
path = /wwwroot/htdocs
public = yes
read only = no
browsable = yes
create mask = 0765
directory mask = 0765

Is there anything else I need to do to ensure the images are viewable externally? I'm kinda stumped. and I know it's something really easy.

You know over in my windows world...

Any responses are appreciated.