× 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

Image field clarification

More
11 years 1 month ago - 11 years 1 month ago #1719 by libraent
Image field clarification was created by libraent
I read the documentation and browsed the posts in the forums. Confused exactly how to make images work. One spot said the image name must be the same as the ID. Another said it has to be a blob field. Another said you can do this:

<img src="{joodb field|YOURIMAGEFIELD}" style="max-width: 320px; max-height: 280px;" alt="*">

Which looks like just a normal link. I tried the last option first and in catalog view it does nothing, no image holder, broken link, just acts like its not there. I have 5000 books and 1000 have images so far. Trying to see if this will work out of the gate.
Last edit: 11 years 1 month ago by joest.

Please Log in to join the conversation.

More
11 years 1 month ago #1721 by Dirk
Replied by Dirk on topic Re: Image field clarification

libraent wrote: <img src="{joodb field|YOURIMAGEFIELD}" style="max-width: 320px; max-height: 280px;" alt="*">


The correct command is {joodb path2image} and {joodb path2thumb}
But only is you use the built in uplaad function.

libraent wrote: Which looks like just a normal link. I tried the last option first and in catalog view it does nothing, no image holder, broken link, just acts like its not there. I have 5000 books and 1000 have images so far. Trying to see if this will work out of the gate.


Have you ever tried to use
{joodb thumb} and {joodb image}

This will diplay the complete image and thumbnail. But only is you use the built in uplaad function.

Alternatively you declare an image field as in the example database.

Please Log in to join the conversation.

Moderators: Dirkjoest