Concerning the multiple elements with this same ID —
There is no special theme used, the version: 4.2.2. I have modified the source codes quite often, but not in case of the comments – this is a new thing I am coming to. And multilevel comments are enabled – if this can have any influence.
multilevel comments add multiple IDs. Oops ;)
One (not comfortable) way to embed an image is to use the "Image" menu option of the editor bundled with Elgg (or the Extended Tinymce editor) where you could embed images by providing an image url. For a Tidypics image you can use the image url that is used by the Download image menu entry in the title menu displayed when viewing an image. Not intuitively...
I've coded a simple plugin yesterday that would add a new tab to the bundled Embed popup where you can select the Tidypics image you want to embed in a posting. Right now it just lists all images available on the site. I guess not user-friendly with many images available. I can upload this plugin hopefully soon as it is. Maybe it can be used as a starting point to add some more options for embeding images, e.g. by search for image title or maybe even by adding a "Copy embed link" to Tidypics image pages and then offering a "Paste embed link" on the embed content popup.
Very good! The plugin Tidypics Image Embed functions all right.
Even usable with this version 4.2.2 – just enough to change the version requirement in JSON.
Actually, one functionality of Tidypics Image Embed was to be modified.
It shows all images from all users to select for embedding, which may be confusing. This should be limited to the current user's images.
Solution —
in the file:
views/default/embed/tidypics_image_embed/tidypics_image_embed.php
inside
echo elgg_list_entities
to add a condition on a new line:
'owner_guid' => elgg_get_logged_in_user_guid(),
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.