Creating a Database with html - image

I am trying to create a Database of all my albums. I have figured out a few things, but I am a novice html writer and I am confused about how to orientate some of my items.
I want to create rows of albums with the album title centered under each picture. Unfortunately; each time I add a album title, the image drops to the next "row"
Screenshot
What I would like to do is move "Get Your Wings (1974)" to the right of "Aerosmith (1973)" and another to the right of that ... and so on across the width of the page.
& Yes ... the album covers are clickable. When clicked, Explorer opens the folder containing the mp3s.
I'm not sure where to post my html code, so I uploaded it here:
http://rg.to/file/4171a1d9d442aa84b472bf9356c48c76/TEST_06.txt.html
Any assistance would be appreciated.
PS: Please be patient, I am just learning.
Thank You !

Related

Using links jump to target inside PDF

I want to navigate in pdf file but I don't have page number or exact offset position because data is not in fixed amount. Data is in structured form.
I want like this: http://www.antennahouse.com/XSLsample/pdf/sample-link_1.pdf#appendix-a
Click on Text" Purchasing Assistance " and goto target position.
This link has ID #appendix-a not page number.
Please give solution. Thanks...

Codeigniter image gallery

First sorry if its a stupid guestion but im a really big beginner.
I would like to make an image gallyer similar to facebook, but what i dont really understand is te logic.
I made a multi image upload, it saves the image nam and extension to the database with a title .
A folder is created by the title name.
My problem is i dont know how to select them.
What i mean a person uploads 20 images in folder hello, on the page show the hello with one of the thumbnails and when i click it redirects me to the other pictures.
So tihs is the logic what i dont really understand, and i dont want anybody to write this for me, i only would like the opinion or a hint form a more expreienced developer.
Thank you
In your DB, keep track of the cover photo for each album. Since you probably want to allow users to name albums you might as well save that in there, too.
Table::albums
- id
- name
- photo_id //cover photo, or even the link to the image can be saved here directly if you don't like joins
- ...
Table::album_has_photos
- id
- album_id
- name
- url
- ...
To view the album overview: in your album controller extract the album names, cover photo links from table::albums and send those to the view;
In your view set up a link around each of the cover photos to a controller that loads the album contents from table::album_has_photos;
Display photos from one album and add visual effects.
Ooptional: add pagination to the album overview.
The best idea would be to keep the url of the images in the db (full url or relative - doesn't matter) and possibly the gallery id (if you're using more than one gallery). Then, you'd use the Database class to select all the image urls and send that data to the view. In the view, you can use a foreach loop to generate an appropriate tag for each of the selected images. After that, you could possibly add a lightbox plugin of some sort to have a nice popups when you click on thumbnails.

Joomla/Seblod Display Image Thumbnail Only, Link to Lightbox

I am using Joomla and Seblod. I would like to create a gallery of thumbnails only, tiled next to one another and when clicked it will open each image into a lightbox (fancybox) and display larger image and description.
Problem I'm having is that when I try to display only the image thumbnails, I get the label "Image" or whatever I enter into Seblod. I just want plain image thumbnails, no text or any description but when clicked it opens them in the lightbox. I'm sure this is child's play, but confusing for a a beginning Joomla user like myself.
Any help would be appreciated, thanks.
There is built-in Lightbox functionality in Seblod, but it takes a few steps to make it work. It is even better if you use a custom template, because then you can add regular PHP functions to process your photos.
In any case, to get started, look at the tutorial I wrote on this subject: http://www.seblod.com/support/documentation/seblod-2x/fields/typo/1710-create-a-simple-gallery-with-fieldx-field.html

How to create featured article listing with an featured image in joomla?

I am pretty new to joomla. The effect I am trying to achieve is http://www.greenjourneys.nl/individuele-reizen.html this. Notice, there is an featured image for each articles.
Can you tell me how to do this?
Just include the image before the page break.
There are a number of components that will allow you to resize the photo easily (or create tumbnails 'on the fly') which would work great for something like that.
However if you just have small images you want to use - simply include the image into the article before the pagebreak and use CSS to control how it lays out on the front page.
You can decide if you want the intro text to show in the main article or not, if you do - then you won't have to include the image again (it will show by default) but if you do not want the intro text to show, just be aware that the image you choose for the front page won't display in the article when clicked on.
Hope that helps.

Drupal gallery with thumbnail made of first picture

I have drupal6,cck,views,imagecache.
category_type gallery contain a CCK node reference to a category_type images
and In this Images there is a cck file (image) field.
I know how to create a view which will display a list of galleries.
BUT question is .. HOW can I display a list of galleries with a THUMBNAIL that is made of first image available inside that gallery.
And I don't want to add a extra field for gallery (in category_type) like "preview pic"
Just want then to be displayed by reference.
Example:
If I create a gallery with one picture inside... I want this picture to be my gallery thumbnail.
If I create a gallery without image, there will be no thumbnail ... or default "notavailable" picture.
IF I create a galleyr with many images / remove them /etc.. wanna make sure that first available picture in gallery is gonna be it's thumbnail.
please help ;)
You might be able to do this in a view, but if you want even your basic gallery node to show an image from one of the child nodes you could do something like this in a file called node-gallery.tpl.php where gallery is the content type machine name:
// load the node reference
if ($child = node_load($node->field_nr_child[0]['nid'])):
// ... and just print the image from that child node
print $child->field_image[0]['view'];
endif;
You could also randomize which child you show or show only the most recent child with some foreach fun. You might want to override where the content is displayed so you have more control over formatting but this should get you started.
You can also check out this great screencast I just found looking for something else. I think it does exactly what you want without the custom code: http://www.lullabot.com/articles/photo-galleries-views-attach
In CCK image field you must set Default Image ("notavailable" picture).
After this you can:
1. theme node as Jeremy Heslop sayd - node theming;
2. if you make views of Gallery by row style="Fields', then click link on Theme:Information, select appropriate theming file, add it to theme folder, and theme one field (for example, Title) changing it to thumbnailed and linked image (taked from referenced "Images");
3. In Views add Relationships, that will connect "Gallery" with "Images", and show 1 image in field.

Resources