I built a website using HTML and CSS. I want to add a search box but Id like it to show pictures as well as the link to the item(s). I currently have a search box through freefind.com and it shows only the links.
Id like it to show each item with a pictures instead of the general page and no picture.
Is this even possible just using HTML and CSS?
Thank you for your help,
Kaylar

Recommended Answers

All 4 Replies

Is this even possible just using HTML and CSS?

It's not likely. To get the search box working in the first place you probably have to paste a snippet of code (PHP or the like) into your website.

Id like it to show each item with a pictures instead of the general page and no picture.

While their website says you can customize the search results, it doesn't say specifically that you can add pictures to them:

Easy-to-use FreeFind wizards give you complete control over the look of your search results including your own titles, text, logo, background, and more.

It might be possible, I've never used them before. But chances are you'd have to code something like that yourself, I think.
Hope that helps.

- Z

Yeah Ive edited the code from freefind as much as I can. I dont have to use freefind codes at all. I am just wondering if its even possible to do in HTML and CSS?
Thanks
Kaylar

Yeah Ive edited the code from freefind as much as I can. I dont have to use freefind codes at all. I am just wondering if its even possible to do in HTML and CSS?
Thanks
Kaylar

Do you have an example of what you're trying to accomplish?
If you can modify the code of the results screen, just have it print out an <img> tag for each result with the src attribute set to the path to the respective image. You can use CSS to float the image to the left or right of the result.

Do you have an example of what you're trying to accomplish?
If you can modify the code of the results screen, just have it print out an <img> tag for each result with the src attribute set to the path to the respective image. You can use CSS to float the image to the left or right of the result.

That would mean that I would have to create a page for every search I can think of correct? Say I wanted to search for Green Latex balloons. I would have to make a page that has anything with those keywords on it and link it to the search somehow so that it only shows that page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.