1
LucaNet
How do I insert custom pictures in my home page?
  • 2006/5/26 2:30

  • LucaNet

  • Friend of XOOPS

  • Posts: 90

  • Since: 2006/5/25


Hi everybody,

first of all excuse me for my dreadful english, I'm Italian. I'm trying to build my website by XOOPS and I'd like to insert a lot of pictures on my home page. For making that, I go to blocks administration and add my custom block (html). In the content area I put this code:

<img src="images/officemap.gif"
alt="Office Map" width="160" height="120"
hspace="10" vspace="10" align="left"
border="0" />

Is that correct? But if I repeat code for inserting more consecutive pictures, on Firefox, Opera and I.E. those pictures will be displayed in three different ways (number of columns). What code (html) have I to insert to standardize the number of columns? And for using PHP?

I hope you will understand my question.

Thank you.

2
Bassman
Re: I want to insert pictures in my home page. I'd prefer to use a custom block not a module.
  • 2006/5/26 3:07

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


you'll have to use tables, with a picture in each cell.

look athttp://www.2createawebsite.com/build/table_generator.html

3
LucaNet
Re: I want to insert pictures in my home page. I'd prefer to use a custom block not a module.
  • 2006/5/27 13:31

  • LucaNet

  • Friend of XOOPS

  • Posts: 90

  • Since: 2006/5/25


Thank you Bassman,

that's perfect for me. Also, I'm looking for a totally custom counter (no stats). Can you help me another time?

4
LucaNet
Re: I want to insert pictures in my home page. I'd prefer to use a custom block not a module.
  • 2006/5/28 23:31

  • LucaNet

  • Friend of XOOPS

  • Posts: 90

  • Since: 2006/5/25


Quote:

LucaNet wrote:
Thank you Bassman,

that's perfect for me. Also, I'm looking for a totally custom counter (no stats). Can you help me another time?



In addition to the counter, I have another need. I'd like to know the correct code for diplaying thumbnails in home page and opening larger pictures by clicking on each thumbnail. I'd like the pictures open on pop-up. What should I add or correct in the following code?



<table align="center" border="0" cellspacing="0" bgcolor="#01224B"
<
tr valign="bottom">
<
td align="center"><a href="pictures/IMG_2179.JPG"><img src="thumbnails/IMG_2179.JPG" title="Luca" border="0"></a></td>
<
td align="center"></td>
<
td align="center"></td>
<
td align="center"></td>
<
td align="center"></td>
<
td align="center"></td>
<
td align="center"></td>
</
tr>
</
table>




My final purpose is to obtain a kind of standard table without alterations on the different browsers or video resolutions.

Thank you.

5
Bassman
Re: I want to insert pictures in my home page. I'd prefer to use a custom block not a module.
  • 2006/5/29 1:41

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


A) Try the counter module:
https://xoops.org/modules/repository/viewcat.php?cid=15

B) No, you'll have to create a javascript popup window for each thumbnail. Try
http://javascript.internet.com/generators/popup-window.html

C) Good luck with that, if you can get a table to diplay perfectly regardless of resolution and browser, i'd like to know how :)

6
LucaNet
Re: I want to insert pictures in my home page. I'd prefer to use a custom block not a module.
  • 2006/6/7 14:25

  • LucaNet

  • Friend of XOOPS

  • Posts: 90

  • Since: 2006/5/25


Quote:

Bassman wrote:

B) No, you'll have to create a javascript popup window for each thumbnail. Try
http://javascript.internet.com/generators/popup-window.html




Thank you Bassman,

since I'd like to use popup also for 'Terms & Conditions' menu, I tried to apply script code for popup to an html page where Terms & Conditions are.

For that menu I use iMenu module and when I apply script for popup in 'termsandconditions.html', 'Terms & Conditions' menu don't open directly the popup but another page on the same windows of the browser which display another link. Finally, that link open the right popup. The issue is I'd like popup open directly by the link on 'Terms & Conditions' menu. Where do I insert the script code?

Login

Who's Online

192 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits