Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Modifying Images
#5
(2016-09-08, 03:13:21)shawn_a Wrote: Only problem is the theme might use image location set in css.

But you should just be able to change the urls for stuff

/data/uploads

Here's what I found:
<div id="banner"><a href="<?php get_site_url(); ?>" title="<?php get_site_name(); ?>" class="img-style"><img src="<?php get_theme_url(); ?>/data/uploads/static_tiles/dj-qf-logo-links.jpg" class="gs_image" height="182" width="659" alt="" /></a></div>


The above pointed originally to /theme/summit/images/img04.jpg. This is the theme's "mountain" picture.

Then, I tried to rename the image file and "repoint" it to /data[..] images folder at no avail. Also, I wanted the image to snug fit into the doorpage, so I altered the dims, but at no avail.

What worked was to to replace the original file with my custom one by uploading mine and renaming it img04.jpg as referenced in the source, but still cannot modify its dimensions.

Having said that, I'm not savvy in PHP, I am a network engineer.

D.
Reply


Messages In This Thread
Modifying Images - by Dan71 - 2016-09-08, 02:40:58
RE: Modifying Images - by shawn_a - 2016-09-08, 02:56:12
RE: Modifying Images - by Dan71 - 2016-09-08, 03:05:56
RE: Modifying Images - by shawn_a - 2016-09-08, 03:13:21
RE: Modifying Images - by Dan71 - 2016-09-08, 03:32:32
RE: Modifying Images - by shawn_a - 2016-09-08, 03:36:52
RE: Modifying Images - by Dan71 - 2016-09-08, 03:41:31
RE: Modifying Images - by shawn_a - 2016-09-08, 03:51:31
RE: Modifying Images - by datiswous - 2016-09-08, 03:51:58
RE: Modifying Images - by Dan71 - 2016-09-08, 04:21:26
RE: Modifying Images - by Oleg06 - 2016-09-08, 05:28:45



Users browsing this thread: 1 Guest(s)