peterpp Posted August 6, 2014 Share Posted August 6, 2014 Hi, Can i make image description field to enter html tags like anchor link, paragraphs( p ), head tags(h1, h2, h3) etc. Regards, Pravin Link to comment Share on other sites More sharing options...
Martijn Geerts Posted August 6, 2014 Share Posted August 6, 2014 I don't think this is possible (by default). But why would you need this? If you could explain why you want it, maybe we can help you to do this in an other way. Link to comment Share on other sites More sharing options...
adrian Posted August 6, 2014 Share Posted August 6, 2014 You can use markdown. Does this help: https://processwire.com/talk/topic/1424-html-in-fileimage-descriptions/ Link to comment Share on other sites More sharing options...
peterpp Posted August 6, 2014 Author Share Posted August 6, 2014 I don't think this is possible (by default). But why would you need this? If you could explain why you want it, maybe we can help you to do this in an other way. Hi Adrian, My client need to enter urls in description field only. Regards, Pravin Link to comment Share on other sites More sharing options...
Martijn Geerts Posted August 6, 2014 Share Posted August 6, 2014 (edited) Maybe I'm stubborn but I think a description field should be for the description. If you need more meta data attached to an image you could go for: FieldtypeImageExtra and change it to your needs. Or use a repeater for this. Repeater with Image and URL field. Or make for every image a page. Make a page select and select the page with the image. if you're less conservative, take a look at the link provided by Adrian. Edited August 6, 2014 by Martijn Geerts 2 Link to comment Share on other sites More sharing options...
mr-fan Posted August 6, 2014 Share Posted August 6, 2014 Am i right? Would possible too if every pic has his own page/object sitetree: --home ---some page ---some other pages ---my pics ----pic 1 (template is with pic (only once) + link field/text + something else ----pic 2 " ... so you could use a pageselectfield to choose from the imagepages what images are to use for the needed page? pro image is extreme extendable con image are not on the used page direct get the image via the choosen ID to show up on the needed page. Kinda a interesting usecase - i collect them here in the forum like i wonna be well prepared for my first real PW project! regards mr-fan Link to comment Share on other sites More sharing options...
Martijn Geerts Posted August 6, 2014 Share Posted August 6, 2014 @mr-fan look at this template I had a use case to identify a page as an image with GD modifications. So basicly the page is an image 2 Link to comment Share on other sites More sharing options...
mr-fan Posted August 6, 2014 Share Posted August 6, 2014 Very tough! If geht it right with this you get nicer urls for the imgages? I'll habe to test the next great and simple pw snippets.... Link to comment Share on other sites More sharing options...
Martijn Geerts Posted August 6, 2014 Share Posted August 6, 2014 And text on the image Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now