Image Block stupid question
Permalink 1 user found helpful
When adding an image block to a page, the editor allows you to add a Link... but the user needs to know the URL to link to (either an absolute URL or a relative URL to another page).
How difficult would it be to modify the Image block to allow the user to select another page in the site to use as the link for an image?
Or am I missing it and it's already included in the standard block?
Thanks!
How difficult would it be to modify the Image block to allow the user to select another page in the site to use as the link for an image?
Or am I missing it and it's already included in the standard block?
Thanks!
Thanks, Rachel! The Content Block certainly does give you a lot more flexibility and control.
Heya, sounded actually like a useful feature for once, thank you for that. So I extended the core image block to allow users select a page within the system.
Extended block attached. Hope it'll ease your work.
Extended block attached. Hope it'll ease your work.
Wow... thanks! Just downloaded this and going off to check it out.
Really appreciate you doing this (the Concrete5 Community sure is amazing!!).
Really appreciate you doing this (the Concrete5 Community sure is amazing!!).
Hi there,
This was exactly what I was looking for - thanks for producing it - but I can't get it to work properly. I've got it installed ok and can select the page I want to link to from the dropdown menu. However, the link doesn't apply at all - nothing happens when you click on the button. I've cleared cache etc. after installing. I'm running 5.4.2.2.
Any help would be appreciated.
This was exactly what I was looking for - thanks for producing it - but I can't get it to work properly. I've got it installed ok and can select the page I want to link to from the dropdown menu. However, the link doesn't apply at all - nothing happens when you click on the button. I've cleared cache etc. after installing. I'm running 5.4.2.2.
Any help would be appreciated.
Hi,
Have you refreshed the core image block on dashboard/packages?
Let me know if that doesn't work and I'll take a deeper look at it.
Have you refreshed the core image block on dashboard/packages?
Let me know if that doesn't work and I'll take a deeper look at it.
Working perfectly now, many thanks! :-)
Hi, I just installed this on 5.7.5.7 and I get:
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
Hi, I just installed this on 5.7.5.7 and I get:
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
Hi, I just installed this on 5.7.5.7 and I get:
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
Hi, I just installed this on 5.7.5.7 and I get:
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
"Call to undefined method Concrete\Core\Legacy\Loader::block()"
I installed it under /application/blocks
Hi rjCousineau,
The attached block in this discussion is for an older and incompatible version of concrete5.
The ability to link to another page within the Image block is available by default.
Image Link drop-down > Another Page > Choose Page
The attached block in this discussion is for an older and incompatible version of concrete5.
The ability to link to another page within the Image block is available by default.
Image Link drop-down > Another Page > Choose Page
Awesome, thank you very much.
Generally if I need to add an image with anything special I will use the basic content block. It gives you a lot more versatility that way. I hope this helps!
Rachel