Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   html experts - need help (https://thetfp.com/tfp/tilted-technology/28228-html-experts-need-help.html)

Sion 09-21-2003 06:52 AM

html experts - need help
 
take a look at the following html code for a webpage. it is from the episode guide for The Sopranos from HBO.com. notice the part of the text that I have highlighted in bold. this is for the picture from the episode that accompanies the episode guide. notice that instead of linking directly to the picture in question, it is a gif spacer. so right click>save picture as is of no help. so, my question to you is this: HOW can I save that picture? also, how the hell does this work? the command from each page of the episode guide is the same, and yet each one shows a different picture. how? i dont see anything that differentiates the pic to be shown.

can anyone help out here? thanks.




edit: ok, so html code doesnt mix well with whatever code is used to control this bb. here is the command without some of the necessary syntax:

src="/img/core_template/spacer.gif" alt="" width="360" height="204" border="0"></td


if this isnt enough info, try going to any of the episode guides and looking at the source code in its entirety. from what I saw, there doesnt seem to be anything in the code that links directly to the picture, but then, I am no expert in html. hell, Im not even a beginner. I know just enough about programming to be able to recognize some of the commands for what they are, but the syntax and structure of html is outside my knowledge base. I've only ever programmed in basic and pascal so that tells you how long its been and how limited my programming skills are.

yakimushi 09-21-2003 07:39 AM

Is this what you're looking for?

Code:



{td vAlign=top background="HBO Sopranos_files/main_ep39.jpg"}
            {table cellSpacing=0 cellPadding=0 width=545 border=0}
              {tbody}
              {tr}
                {td background="HBO Sopranos_files/spacer.gif"}{img height=20 alt="" src="HBO Sopranos_files/spacer.gif" width=185
                border=0}{/td}

What HBO did was use a table to format the page, then within the specific cell they defined the image you want as the background for that cell (ie, no right click). Then, they used a "clear" 1x1 pixel spacer to fill the cell leaving the image underneath.

To tell you the truth, its quite an elegant solution, it had me stumped for about 5 minutes. Anyways, the easiest way I got the image was to just save the page then find the image in the files folder.

Hope I've helped!

edit: damn HTML, all carrots replaced with brackets

Sion 09-21-2003 02:53 PM

"To tell you the truth, its quite an elegant solution, it had me stumped for about 5 minutes. Anyways, the easiest way I got the image was to just save the page then find the image in the files folder."


shit, I shoulda thought of that. thanks a bunch.

thebigk 09-21-2003 03:01 PM

I was going to suggest doing a screen capture and then cropping and saving - but saving the page works too. :)

spectre 09-21-2003 07:10 PM

I fixed your post so it doesn't screw with the page. Try posting it again, but use < for < and > for >
That should make it so you can post the code without issue.


All times are GMT -8. The time now is 10:12 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360