Hi all

I'm starting a new topic from my last thread, keeps things more organised and less cluttered thanks :)

For those or didn't see the last thread - https://www.drupal.org/node/2326845
I'm generally trying to create lots of different galleries with photos from different events and dates using the ECK.

Just a couple of questions if anyone can advise.

  1. Instead of importing the photos or adding a image field in the bundle, can I instead add a reference/location text field and manually add the location of the image? This is mainly so I can bulk upload my images using FTP into folders, then reference them later. Can things be done this way?
  2. Once we have our Entity and Bundle created using the ECK, what is the best tool to display these images/galleries? Simply set up a view/s or would this be easier creating a EFQ, simple loop and display? Though maybe then, that would make it more difficult to filter the images and display custom galleries based on taxonomy? A lot easier using views?

Whats your thoughts on this, whats the best approach, best way?
Just trying to get an understanding on the best solution before I start.

Thanks in advance, Barry

Comments

nevets’s picture

If you are using a file field there is Field Field Sources

computerbarry’s picture

Thanks nevets

I didn't really want to go down this route, another module.
Hoping for some like below which I use on another site, simple text field with photo path and name, which I'd import via a text or csv file to populate the fields.

<img src="images/' .$path . '/' . $_GET['photo_id'] . '.jpg" title="' . $row['caption'] . '">

Cheers, Barry

The more you learn.... the more you learn there is more to learn.

darol100’s picture

Barry,

I have been working on the same thing that you lately. I find out that the best way to display it is the views module & colorbox (this is my opinion).

I will be uploading a module with my own configuration you should check it whenever is up so you can get an idea.

- Darryl Norris
Be Connected: Website | Twitter | LinkendIn | GitHub

computerbarry’s picture

I find out that the best way to display it is the views module & colorbox (this is my opinion).

This is another way I am going to use for smaller galleries 20+ unique to some articles and small review pages, though the exact functionality I need for this instance/galleries, the colorbox and overlays are not adequate. I need a separate page and unique url so each photo can be indexed and favorited. This is not possible using the colorbox approach. Unless I'm mistaken.

I will be uploading a module with my own configuration you should check it whenever is up so you can get an idea.

Absolutely, be sure to post back once you have things up and running, share the knowledge :)

I did mean to message you back in my last thread, became very busy, though I checked out some of your Drupal work, I like the migration project, something I'll need to get into myself, lots of work coming up regarding migration from other CMSs and static sites over to Drupal. Very good to know how to approach this sort of task/work.

I'm also a keen photographer, though I don't have much to the extreme as yourself :)

Thanks for your input Darol

The more you learn.... the more you learn there is more to learn.