1 scribbly Jan 13, 2015 12:49
3 scribbly Jan 15, 2015 10:06
Thanks for that, it's certainly working -- except I have another issue that's stopping saving: http://forums.b2evolution.net/posting-error-incorrect-string-value-xa0-for-column
...which is driving me crazy: ever since I upgraded to 5.2.0 it'll let me create and maybe save 2 times then it throws that error (and help on that error has been pretty quiet...)
Hi @scribbly,
You can use the built-in colorbox to display your own images. If you insert your images using the "Simple method" described here: http://b2evolution.net/man/how-to-include-external-photos, you just need to add three parameters to the inserted snippet. Go to the
<a>
tag outside the image and add the following:1.
class="cboxElement"
-- It's required by colorbox to know that the element will be displayed in a modal window2.
rel="lightbox[pPostID]"
-- it's related with the b2evolution customization. Just replace "PostID" by the id of the post in which you're adding the image.3.
id="uniqueID"
-- an unique id for the elementThis is a sample of the resulting code:
Just remember that the voting options won't be available for images displayed this way.
Regards!