Opened 5 years ago

Closed 3 years ago

#17 closed enhancement (wontfix)

Multiple Images

Reported by: rrgeorge Owned by:
Priority: minor Milestone: Future Release
Component: Media Version:
Keywords: Cc: geohar, josephscott, ganeshr, janakirampalepu

Description

I believe it would be better practice for the app to insert the [gallery] shortcode when more than one image is attached to a post, rather than adding all of the (medium sized?) images onto the end of the post.

Attachments (1)

gallerySupport.patch (14.7 KB) - added by geohar 5 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 5 years ago by geohar

I have a diff for this, which adds an option to the GUI and also only adds [gallery] tags. However, it looks a bit awkward via the xmlrpc to attach a post to another. Is it possible to add a parent_post_id to the api so that this would work (images will currently be uploaded but are attached to postId -1 not the current new post)

Changed 5 years ago by geohar

comment:2 Changed 5 years ago by geohar

  • Cc geohar added

I've attached a diff which will work... it relies on hiding image urls in a invisible diff. This is only needed as the xmlrpc won't attach images unless the URL appears in the text. It's likely this is to work around the defficiency of post id -1 being used as a pending attachment status - instead of the images being directly attached to the post using the API.

Anyways, this should allow the user to switch the style to a gallery rather than a direct inline image set. Ideally the invisible div would be edited back out so the user never sees it. Better yet, and xmlrpc change could make it a lot more slick

comment:3 Changed 5 years ago by raanan

  • Cc josephscott added
  • Milestone set to 1.2

comment:4 Changed 4 years ago by raanan

  • Cc janakirampalepu added

did this make it into 1.2 trunk yet ?

comment:5 Changed 4 years ago by raanan

  • Milestone changed from 1.2 to 1.3
  • Owner set to ganeshr
  • Status changed from new to assigned

we need to investigate this further

comment:7 Changed 4 years ago by raanan

  • Cc ganeshr added
  • Milestone changed from 1.3 to 1.4

I'd like to see if we can get this into 1.4.

@ganeshr -- what did your investigation reveal way back when ? :)

comment:8 Changed 4 years ago by raanan

@ganeshr - are you still working on this ?

comment:9 Changed 4 years ago by raanan

  • Milestone changed from 1.4 to 1.5
  • Owner changed from ganeshr to quamen

comment:10 Changed 4 years ago by iammattthomas

  • Milestone changed from Next Release to Future Release

comment:11 Changed 3 years ago by iammattthomas

  • Owner quamen deleted

comment:12 Changed 3 years ago by frsh

  • Summary changed from Insert [gallery] instead of images for multiple image attachments to Multiple Images

comment:13 Changed 3 years ago by frsh

  • Resolution set to wontfix
  • Status changed from assigned to closed

Closing for now. May look into something like this in the future.

Note: See TracTickets for help on using tickets.