PeanutBase / jekyll-peanutbase

A "starter" Jekyll site that uses the jekyll-theme-legumeinfo submodule
Apache License 2.0
0 stars 0 forks source link

Generate thumbnail germplasm images from Noelle Barkley original collection #34

Closed sdash-github closed 1 year ago

sdash-github commented 1 year ago

@sdash-github to generate thumbnail germplasm images from Noelle Barkley original collection which were used in Drupal Brilliant Gallery library. Based on issue:
https://github.com/PeanutBase/jekyll-peanutbase/issues/30#issuecomment-1523981043

Use ImageMagick and a script to create thumbnails for the entire dir tree and put it in /falafel/peanutbase location side by side with original image dir for use by @svengato.

sdash-github commented 1 year ago

WORK:

RESULT:

TO DO: @svengato to close issue after his needs are met .

svengato commented 1 year ago

Working on this today, there are some title v. filename discrepancies so it will take a while to clean up.

sdash-github commented 1 year ago

Hi Sven, I am on leave today because of a family commitment. I will not be checking emails until after late afternoon. Just wanted to let you know. Sudhansu

On Fri, Apr 28, 2023, 9:36 AM svengato @.***> wrote:

Working on this today, there are some title v. filename discrepancies so it will take a while to clean up.

— Reply to this email directly, view it on GitHub https://github.com/PeanutBase/jekyll-peanutbase/issues/34#issuecomment-1527665830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4A464BPJSY5T4TUG3YYMDXDPIWLANCNFSM6AAAAAAXM5K2O4 . You are receiving this because you authored the thread.Message ID: @.***>

svengato commented 1 year ago

@sdash-github: when you get back, could you restart the Jekyll site's Docker container? It does not build for me any more (possibly due to a disconnection while trying to rebuild it).

svengato commented 1 year ago

Never mind, I got it back up. Still working on correcting filenames and directory structure, but most thumbnails should now appear.

sdash-github commented 1 year ago

Thanks Sven. I tried yesterday: docker down, docker up, etc. Nothing worked, only ended up shwing the error message that a long hex string as image name is not active or something like that. I didn't try anything beyond that thought yesterday.  I am glad you solved it. Just curious as to what happened and how you solved it. All is well that end well.

Sudhansu

On 4/29/23 9:34 AM, svengato wrote:

Never mind, I got it back up. Still working on correcting filenames and directory structure, but most thumbnails should now appear.

— Reply to this email directly, view it on GitHub https://github.com/PeanutBase/jekyll-peanutbase/issues/34#issuecomment-1528802312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4A467VS62PQ256IMDI2MDXDURIPANCNFSM6AAAAAAXM5K2O4. You are receiving this because you were mentioned.Message ID: @.***>

svengato commented 1 year ago

I had made another symbolic link, to the full size images in files-from-legacy/drupal7-site-default-files/BrilliantGallery/, but had not added this to the Docker configuration. The right way is to copy those images to somewhere in files/, which is my next task.

svengato commented 1 year ago

That works. Next: clean up title (accession) v. filename discrepancies.

svengato commented 1 year ago

Three files have modified filenames to remove 'parenthesis' in oroginal filenames per below. "PI497631_(2)FINAL_RESIZED.jpg" PI497631_2_FINAL_RESIZED.jpg "PI502045_xtra3(2)FINAL_RESIZED.jpg" PI502045_xtra3_2_FINAL_RESIZED.jpg "pi476063(2)_FINAL_RESIZED.jpg" pi476063_2_FINAL_RESIZED.jpg

I think you mean the thumbnail .gif files? The (2) should be present, for consistency with the title (accession). I changed these .gif filenames to include it, also a few others with extensions like .JPG instead of .jpg, or with a misspelled directory name like Attalpulgus.

All 1931 thumbnail files are visible now, but I have not checked all of the large images.

sdash-github commented 1 year ago

Checked the seed, pods, plants, etc. categories of images at random and a few from each category: The larger images are displayed okay.

Can close the issue if @svengato okays it.

svengato commented 1 year ago

The large images are in files/BrilliantGallery/NoelleBarkley/..., and the thumbnails are in files/BrilliantGalleryThumbnails/NoelleBarkley/....

sdash-github commented 1 year ago

Dropping Brilliant Gallery from dir names??

Would it be a big issue to remove the "BrilliantGallery" from the dir names? -- It was just the Drupal library name we used and is now history and not relevant anymore. -- We should retain NoelleBarkley label because it is her collection of images that she shared with me. Although she is "Noelle Anglin" now. It will be nice to have a resolution of this name related issue although we don't have to, at least right away. Any good idea that is culturally sound?

svengato commented 1 year ago

Would it be a big issue to remove the "BrilliantGallery" from the dir names?

No, that would be easy. How about Noelle/Thumbnails and Noelle/Images? (see below)

Any good idea that is culturally sound?

Just "Noelle"? Or you could ask what she prefers.

sdash-github commented 1 year ago

I am fine with Noelle and the webpage would have full name of the contributor of this resource, Noelle Anglin (previously Barkley).

On 2023/5/9 12:27 PM, svengato wrote:

Would it be a big issue to remove the "BrilliantGallery" from the
dir names?

No, that would be easy. How about |Noelle/Thumbnails| and |Noelle/Images|? (see below)

Any good idea that is culturally sound?

Just "Noelle"? Or you could ask what she prefers.

— Reply to this email directly, view it on GitHub https://github.com/PeanutBase/jekyll-peanutbase/issues/34#issuecomment-1540580559, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4A463PWKNDZJGC757ZRALXFJ5AHANCNFSM6AAAAAAXM5K2O4. You are receiving this because you were mentioned.Message ID: @.***>

svengato commented 1 year ago

The pages that mention her already use "Noelle Anglin" or "Noelle L. Anglin", except for the Contributor and Photographer tags in the germplasm images pages, which use "Noelle Barkley". Should I change those to "Noelle Anglin"?

sdash-github commented 1 year ago

I would let that stay as it is.

On 2023/5/9 1:13 PM, svengato wrote:

The pages that mention her already use "Noelle Anglin" or "Noelle L. Anglin", except for the Contributor and Photographer tags in the germplasm images pages, which use "Noelle Barkley". Should I change that to "Noelle Anglin"?

— Reply to this email directly, view it on GitHub https://github.com/PeanutBase/jekyll-peanutbase/issues/34#issuecomment-1540645319, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4A46Y4MGQJPKQPXNDDIL3XFKCMVANCNFSM6AAAAAAXM5K2O4. You are receiving this because you were mentioned.Message ID: @.***>

svengato commented 1 year ago

Done - no further references to BrilliantGallery.