opening images in article view

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ameo
Regular
Posts: 143
Joined: Fri Sep 26, 2008 4:13 am

opening images in article view

Post by ameo »

hi,
is it possible to make direct links ti images in upload folder show as single image in article view?

something like here

http://tinyurl.com/6j44nl

and this is an example image

http://tinyurl.com/6fhr3p

thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: opening images in article view

Post by garvinhicking »

Hi!

Yes, you can install the "ImageSelector Plus" plugin. This gives you new choices in the insertion of an image into your blogposts, so that you can choose to open it inside your current entry view. (or as a popup, etc.)

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/
ameo
Regular
Posts: 143
Joined: Fri Sep 26, 2008 4:13 am

Post by ameo »

Image

can this be set automatically? can't find that in the plugin option!
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Wait a minute - you can already do something like that without any plugin...

After you select your image, then choose thumbnail or large image, there is an option to "display as a link to this url", which defaults to the large image, and choices as to how to control the link, including blank target, pop-up, or isolated image....

Am I missing something here?
=Don=
ameo
Regular
Posts: 143
Joined: Fri Sep 26, 2008 4:13 am

Post by ameo »

@ gravin , Don Chambers :

sorry i didn't mention that earlier, but most of my posts are through the api. and not using the Media library or the New Entry pages.

so i thought if there something to make that work with one step configurations!

thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Then there is no way to achieve this automatically. This functionality is only availabnle through the s9y editing interface.

If you want to use the API, you must create the link yourself, like this:

Code: Select all

<a href="http://yourblog/index.php?serendipity[subpage]=s9yisp&serendipity[id]={{s9yisp_entryid}}&serendipity[image]=X
You would need to replace "X" with the ID of the image inside your MDB. Since you supposedly use the API Editor with a full URL and not an image of the s9y MDB, getting the ID will be very hard. So the end of this is: With an API Editor, you simply can't use this functionality - you need to resort to lightbox or other means.

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/
ameo
Regular
Posts: 143
Joined: Fri Sep 26, 2008 4:13 am

Post by ameo »

thanks Gravin, i hoped there is some automated way to do that but if this is the only way to do it then i think i have to use it.
angel125
Posts: 1
Joined: Wed Nov 05, 2008 11:09 am

Hi

Post by angel125 »

Please tell me the process of make direct links images in upload folder show as single image in article view.

==================================
Social Bookmarking
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Hi

Post by garvinhicking »

Hi Angel!

1. Create a new blog entry

2. Click on the icon"Manage images" on top of the entry body (icon with a table with some dots in it, representing the image thumbnails) so that the s9y media database is opened in a popup (NOT the link in the admin sidebar)

3. In that popup, choose the image you want to insert.

4. On the following page (labelled "You chose XXX.jpg"), where you choose the layout options, choose:

- Image size: I want to use the thumbnail in my entry
- Image alignment: Pick what you want
- Image insertion: I want to display it as a link to this url (keep the full URL in the input box next to it)
- Target for this link: Isolated Entry
- Comment: Enter what you want, or leave empty

5. Click on "Done", save your blog entry.

(This requires s9y 1.2 at least)

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/
Post Reply