OpenDevelopmentMekong / wpckan

wpckan is a wordpress plugin that exposes a series of functionalities to bring content stored in CKAN to Wordpress' UI and also provide mechanisms for archiving content generated on Wordpress into a CKAN instance.
GNU General Public License v3.0
22 stars 14 forks source link

Present images as thumbnail on dataset detail page #217

Open acorbi opened 7 years ago

acorbi commented 7 years ago

If a dataset has one or more images as part of its resources then the dataset detail page should present them, either as a single image or as a slideshow.

thumbnail_dataset_detail_page The mockup pasted above shows the thumbnail of the resources available on a certain record which contains 1 or more images among them. If there are more than 1 images among the resources, the implementation would offer arrow buttons to iterate them.

Huyeng commented 7 years ago

What is the idea of presentation of the image and slideshow? Any mockup for that?

prustar commented 7 years ago

@acorbi @Huyeng -- I would like to see this as well? You mean thumbnail of the resource type i.e. jpg, pdf, geojson, csv or do you mean thumbnail of actual resource i.e the pdf image of a record?

acorbi commented 7 years ago

@Huyeng @prustar see a quick mockup i just put together pasted above. mind that this is no final design and therefore the sizes and look and feel of image, buttons, etc... could/should be finetuned.

Any other suggestions to better spec out this issue? Huyeng mentioned ODC would like to implement this for library records which mostly contain PDF resources. Please be descriptive and provide as much detail as possible.

Huyeng commented 7 years ago

@prustar @acorbi, well, I mean the thumbnail for the dataset on CKAN.
Regarding the library records or the law records, it should be the cover of the PDF file.

@acorbi - as you knew, ODC has a library page before, and now this page is not available on the new site. It is frequently asked about the library online page, so ODC would like to produce this page for our users using. The layout of the library page should be similar as the publicatio on the search page. We can discuss further more on that if you need.

acorbi commented 7 years ago

well, I mean the thumbnail for the dataset on CKAN.

The thumbnail of the dataset can only be generated out of the resources present on it. Remember, a dataset in CKAN is composed by metadata + resources, and well, thumbnails cannot be generated out of metadata (or at least does not make sense to me....)

The layout of the library page should be similar as the publicatio on the search page.

You mean https://opendevelopmentcambodia.net/?s=land&type=library_record ? If that is the layout you want to achieve, a good starting point would be the so-called Search pages.

screenshot from 2017-10-04 09-16-03

We can discuss further more on that if you need.

With pleasure, but I would actually suggest that you draft a proposal, providing details and optimally mockups, indicating what features this Library page would need to contain and how it should look like. We could then start with a more solid basis for discussion