× 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

Displaying images from outside Joodb's image folder.

  • jworek
12 years 11 months ago #372 by jworek
I'm a noob at Joodb, so forgive me if my question seems obvious. I have a database that is populated via a Chronoforms form, and I am using Joodatabase as my frontend display. I am able to display all contained information, save the image files the user uploads. The images reside in a folder outside of jdb's usual image path (/images/joodb) so I've been trying to find a way that doesn't utilize {joodb path2image} (which given my db structure I'm not sure would work anyway.
I have tried linking to the images directly using the following in my table cell:
**<src="/components/com_chronoforms/upload/xxx/{joodb photo_two}"/>**
When I do so, the table contains the placeholder icon, connects to the right image, and I can right-click/save the file, but it will not display. I've heard others have had success by doing something with an php echo command, but that's as far as I've been able to find in the matter. Any help would be appreciated!


Please Log in to join the conversation.

12 years 10 months ago #373 by
This had me stumped for a while.
I was uploading them to images/movies and not seeing anything so I used the full URL up to that point then added the {joobd fieldname}, sort of like this:
<img src="www.mysite/{joodb fieldname}"> This then got replaced with
<img src="../{joodb fieldname}"> which was strange because it didn't work when I typed that in.

Please Log in to join the conversation.

Moderators: Dirkjoest