× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

Problem to show the images

More
7 years 9 months ago #3869 by Dragonevil
Problem to show the images was created by Dragonevil
Hello everybody, I have some problem to show the images in a table. In my database I have a blob field for the images and the image is in this folder: /public_html/images/dcr/congresos

In the catalog-template of joodb I´m using this: <td rowspan="9" width="100"><img src="/public_html/images/dcr/congresos {joodb field|imagen}" alt="*"></td>

But I can´t see the images. I have tried to change {joodb field|imagen} for {joodb imagen} with the same result :(
Also I have change the beginning without public_html and the result was the same.
Where is my problem? What I am doing wrong?

I hope you could help me. Thanks.

Please Log in to join the conversation.

More
7 years 2 months ago #4318 by Dragonevil
Replied by Dragonevil on topic Problem to show the images
In this case it was wrong the url. The source for the images must be src="images/dcr/congresos {joodb field|Foto}"

Please Log in to join the conversation.

More
7 years 1 month ago #4327 by Dirk
Replied by Dirk on topic Problem to show the images

Dragonevil wrote: In this case it was wrong the url. The source for the images must be src="images/dcr/congresos {joodb field|Foto}"


Even if the field Foto contains a complete name of the image this would not work.
Reasons
  1. You have a white-space between the path and the image name
  2. Instead of the white-space you need a slash char /
  3. Your path is relative instead of absolute. as soon as you use mod_redirect and you call the image from a sub page its broken. Use /images or http://YOURDOMAIN/images-
.

An please make sure the name of the field ist really Foto and not foto or FOTO or images

Please Log in to join the conversation.

More
7 years 1 month ago #4338 by Dragonevil
Replied by Dragonevil on topic Problem to show the images
I make a mistake writting the path, sorry. My relative path is: src="/images/Articulos/{joodb field|Foto}" and it's working well ;)
Thanks a lot Dirk

Please Log in to join the conversation.

Moderators: Dirkjoest