This question is answered.


Permlink Replies: 8 - Pages: 1 - Last Post: 8 Jan 23, 23:37 Last Post By: ING59
ING59

Posts: 10
Registered: 23-Jul-2013
Including custom graphics in New page failed on server
Posted: 8 Jan 23, 20:43
 
  Click to reply to this thread Reply
Hello,
can someone please help me? I have entered the following command into my custom page in the story skin: <img src="${resPath}/Mask_01.jpg"/>.
The corresponding image is in the res folder.
If I create the album the browser of jAlbum shows me the photo. If I switch to the external chrome browser it is also displayed.
If I upload the album to my web server, the page is displayed, but the image is not. What am I doing wrong?
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 20:46   in response to: ING59 in response to: ING59
 
  Click to reply to this thread Reply
We'll need a link to the album.
ING59

Posts: 10
Registered: 23-Jul-2013
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 20:48   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
*

Edited by: ING59 on 8 Jan 2023, 21:43
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 20:57   in response to: ING59 in response to: ING59
 
  Click to reply to this thread Reply
The path is correct. It appears that either the image files weren't added to the res folder on the input side of the album project (so they're not in the output), or that the files simply haven't been uploaded to the server. I suspect the first cause.
ING59

Posts: 10
Registered: 23-Jul-2013
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 21:04   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Hello Jeff,
thanks first of all for the quick help. Unfortunately, your guess is not correct. The photo is in the res folder of the album. Also in the res folder on the server. I have checked it before with Filzilla. Strange is that the photos appear in the preview browser of JAlbum, but are not displayed on the homepage.
Greetings Ingo
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 21:12   in response to: ING59 in response to: ING59
Correct
  Click to reply to this thread Reply
Attachment error404.png (468.5 KB)
Attachment otherimg.png (42.2 KB)
ING59 wrote:
The photo is in the res folder of the album. Also in the res folder on the server.

The server doesn't know about it. See error404.png.

Other image files you have added are present. See otherimg.png.
ING59

Posts: 10
Registered: 23-Jul-2013
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 21:23   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Attachment screeshot.jpg (166.8 KB)
Hmm, very strange. I get both files displayed with Filezilla in the res folder on the server. See screenshot!

Hi Jeff,
totally crazy. I just converted the image files from jpg to png and lo and behold, now the photos appear on the homepage. Now I know how to do it! Thanks a lot for your help. Your screenshots gave me this idea. You never stop learning!
Many greetings
Ingo

Edited by: ING59 on 8 Jan 2023, 21:41
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 22:05   in response to: ING59 in response to: ING59
Helpful
  Click to reply to this thread Reply
The problem was simpler than that.

Maske_02.JPG and Maske_02.jpg are two different files. File names on a server are case-sensitive.
ING59

Posts: 10
Registered: 23-Jul-2013
Re: Including custom graphics in New page failed on server
Posted: 8 Jan 23, 23:37   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Wow! Unbelievable. I would never have noticed that! Great job Jeff!

Many thanks
Ingo
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums