![]() |
|
Show thumb from news in another section - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Show thumb from news in another section (/thread-10247.html) |
Show thumb from news in another section - kurtko - 30-07-2012 Hi, sorry for my english, i'm from Spain. I see in Mysql that image is inside "content": " Show thumb from news in another section - sbillard - 30-07-2012 When you insert an image using tinyZenpate you have selected an album, then an image. If you know those two critical bits of information, you can create an image object in your normal scripts by using the Show thumb from news in another section - kurtko - 01-08-2012 Thanks for reply. I need to do something like this, so I need to create a function called "printNewsImage". You can help me? Thanks. Show thumb from news in another section - acrylian - 01-08-2012 So you basically want to attach an image from the gallery to an article? That is not possible this way. Images inserted by tinyZenpage are static links and the article does not "know" about that. You cannot find out what image that is unless you want to do some complicated content parsing of the news article content. probably should use the codeblocks to store an array or the names of the album and image you wish to use this way. |