Skip to main content
11 events
when toggle format what by license comment
Jan 9, 2018 at 12:24 comment added Yuseferi @Sam I meant markups
Jan 9, 2018 at 11:58 comment added Sam Is it possible to render the image without showing it? So the image is created but I display it through a seperate custom built string.
Jan 8, 2018 at 15:57 comment added Yuseferi @Sam you're welcome, yes, finally you must render it ( by print, echo ,etc) in your theme.
Jan 8, 2018 at 13:57 comment added Sam thanks. Is simply setting it as a variable going to create the thumbnail (on the server) ? Because I seem to be getting 404s from the path unless I actually print the image.
Jan 8, 2018 at 13:45 vote accept Sam
Jan 8, 2018 at 12:29 history edited Yuseferi CC BY-SA 3.0
added 26 characters in body
Jan 8, 2018 at 12:28 comment added Yuseferi @Sam height and width assigned by your image styles dimension, defaults for thumbnail is 100x100, you can see them on admin/config/media/image-styles , ok instead I print it I'll put it on a variable and do what you want with it.
Jan 8, 2018 at 11:41 comment added Sam Also, I don't want to print the image, just have it accessible by other functions.
Jan 8, 2018 at 11:31 comment added Sam Thanks. Why do I need to add width/height parameters? Shouldn't width and height already by assigned since thumbnail is a default size?
Jan 7, 2018 at 18:43 history edited Yuseferi CC BY-SA 3.0
added 169 characters in body
Jan 7, 2018 at 18:36 history answered Yuseferi CC BY-SA 3.0