Hi,
Is there in S9Y a way to generate lists of references to the media files? Par example I want to delete a media file but without making the links to it in the static pages and entries broken. I would like to edit these and delete the references.
List of references to media files - how?
List of references to media files - how?
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
OKTO-7 Co., Botevgrad
Bulgaria
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: List of references to media files - how?
Hi!
To do that, some advanced work is required. You need to rewrite all of your links to miages to be replaced from /uploads/x.jpg to serendipity_admin_imageselctor.php?serendipity[image]=ID and enable the option to use "Allow dynamic image resizing" so that s9y's media DB can be used to wrap output images.
Once you emit images through the wrapper, s9y will track referrers automatically and reveal them to you in the property screen of a media object in the MDB.
You have to place links manually then or an event plugin would need to be created replacing image path links with image IDs. Such a plugin is on the todo-list for about 3 years now, so don't hold your breath.
The bottom line is: Tough to do, you might better want to do a database fulltext search for the image with phpMyAdmin or a similar tool.
Best regards,
Garvin
To do that, some advanced work is required. You need to rewrite all of your links to miages to be replaced from /uploads/x.jpg to serendipity_admin_imageselctor.php?serendipity[image]=ID and enable the option to use "Allow dynamic image resizing" so that s9y's media DB can be used to wrap output images.
Once you emit images through the wrapper, s9y will track referrers automatically and reveal them to you in the property screen of a media object in the MDB.
You have to place links manually then or an event plugin would need to be created replacing image path links with image IDs. Such a plugin is on the todo-list for about 3 years now, so don't hold your breath.
The bottom line is: Tough to do, you might better want to do a database fulltext search for the image with phpMyAdmin or a similar tool.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
In this above, what has to be put at the places of [image] if has to, and of ID. Where can I find image IDs?serendipity_admin_imageselctor.php?serendipity[image]=ID
Also,
serendipity_admin_imageselctor.php or
plugins/serendipity_event_imageselctorplus/serendipity_event_imageselctorplus.php ?
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
OKTO-7 Co., Botevgrad
Bulgaria
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
"ID" would be replaced with the ID of the image as found in the serendipity_images database.
And I mean the serendipity_admin_image_Secltor.php, nothing with imageselectorplus.
Regards,
Garvin
"ID" would be replaced with the ID of the image as found in the serendipity_images database.
And I mean the serendipity_admin_image_Secltor.php, nothing with imageselectorplus.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/