Templates Camgirl.Cloud Forums F.A.Q How to… Niteflirt Backup & Migration

Viewing 1 reply thread
  • Author
    Posts
    • #2137644

      I’ve been working on backing up my code & images as you’ve suggested in an earlier reply, but I’m having the following issue:
      When I try to replace one of my photos using the img source from the different hosting site and view it in WYSIWIG, the image is HUGE and ruins the entire page. I tried looking in the code & searching to see if I could figure out how to resize my images, maybe, but all I could find were sites that show image size as pixels, but your code seems to just use percentage. I’m also having trouble replacing a graphic that, here, uses “url (…)” instead of “<img source=…”

    • #2137650
       Dan N

      Yes for the images to be resizable / responsive the code is using % values, usually 100% for full width so make sure your image has css style applied to it like so
      <img src=“your-image-url” style=“display:block;width:100%;”>
      The code might have other css attributes but this is the basics
      As for the url(https….your-image-url) means is set as background image and might look like this
      background-image:url(your-image-url);
      Again, other background attributes might be there, this is the basic css which adds a background image to a block element.
      In both cases you’ll need to replace the source of the image, the image full url path.
      I hope it’s clear and you’ll succeed to replace resources without much difficulty

Viewing 1 reply thread
  • You must be logged in to reply to this topic.