dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: curtay

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    471

    Save imagejpeg and filename extention

    When I make an image and save it with imagejpeg without a jpg filename extention it seems to work the same. Is it the same? Is there any reason to even add the ".jpg" extension to the filename?
  2. you probably have to remove the newlines and...

    you probably have to remove the newlines and spaces from the HTML code between the elements like:

    <a class="next" href="#"><img src="{PhotoURL-500}" width="100&#37;"/></a>
  3. Ok it started working now. The code is correct.

    Ok it started working now. The code is correct.
  4. [RESOLVED] How to add watermark to image with transparency?

    I have a watermark png with transparency and I'm trying to write it into a photo. But when I do it it doesn't use the transparency in the png at all, and the watermark is overlayed in a solid white...
  5. Thanks nogdog that helped me finally figure it...

    Thanks nogdog that helped me finally figure it out.

    Here's my code since a lot of people are probably going to google this and land here. This is bascially how to send XML to an API.

    ...
  6. It's not oAuth or anything, I just need to pass a...

    It's not oAuth or anything, I just need to pass a parameter called "Authorization" and use my token.

    I used to have:...
  7. Any exmaple code? Do I use CURLOPT_POST?...

    Any exmaple code? Do I use CURLOPT_POST? CURLOPT_PUT? How do I send the XML? How do I send the "Authorization" token to the API?
  8. [RESOLVED] How to do a PUT command for an API?

    I'm trying to use a REST API. From the API documentation:


    But this is not PHP code. How do I send this request in PHP?
    Is there a PUT command in PHP?
  9. Replies
    1
    Views
    546

    Post-loading js files and browser caching.

    Hi I'm trying to increase the speed of the user's first pageview of my website. I have a large js file for my site but most of it isn't needed for the display of the initial page-load. I want to...
  10. Replies
    1
    Views
    2,711

    How to make float not overlap other text

    I'm floating the green box to the right and I want it to go to the right but find space for itself where it doesn't overlap other things. I thought that's what float is supposed to do? Since there is...
  11. Replies
    1
    Views
    1,025

    preg_replace all anchors that don't have href

    Hi, I'm trying to remove all anchor tags in the HTML that don't have href= but I can't get it to work. My attempt at preg_replace does nothing. Someone please give me the right code.


    $content =...
  12. imagecreatefrombmp() won't work on this bitmap

    I've tried imagecreatefrombmp() and imagecreatefromwbmp() but it won't process this one bitmap correctly. I either just get a green square or a bunch of randomly colored pixels. How can I get my php...
  13. Replies
    2
    Views
    1,766

    I don't think padding works on spans. Put the...

    I don't think padding works on spans. Put the padding on #div_news.
  14. Replies
    0
    Views
    1,735

    Inline-block aligns different in Chrome

    Hi, here's my code. It displays 2 square divs on the same line. On firefox it's aligned. I'm wondering why on Chrome the second div is lower down on the page? Chrome is trying to align the div based...
  15. So there's no way to do it? I definitely don't...

    So there's no way to do it?
    I definitely don't want to reload all the images when they are cached and never going to change. That defeats the purpose of caching. I just want a regular pageload.
  16. How to reload the page without a hard refresh?

    When I use document.location.reload() it seems to reload all the images and the css file and it's slow.

    I want to reload the page and change the anchor in the url. But when I do document.location...
  17. Wow I didn't know that. I've been using divs...

    Wow I didn't know that. I've been using divs inside anchors all over the place for years. I'll use spans, thanks
  18. Nope, didn't do anything. I just want to change...

    Nope, didn't do anything.
    I just want to change a div from block to inline-block, but Chrome and IE don't seem to support something this simple?
  19. [RESOLVED] How to make a div become inline-block?

    I want to use javascript to add all the formatting to the div. It works in Firefox but not in other browsers. IE and Chrome keep linebreaks around the div for some reason. What am I doing wrong?
    ...
  20. Replies
    3
    Views
    3,717

    Thanks! I don't know why I needed that since...

    Thanks!
    I don't know why I needed that since UTF-8 is supposed to the default value for the parameter but oh well.
  21. Replies
    3
    Views
    3,717

    [RESOLVED] How to decode & # 8217;

    $s = "Jackson& #8217;s";//Ignore the space. There really is no space.
    $s = html_entity_decode($s);

    html_entity_decode does nothing to the string.

    I want it to become "Jackson’s"
    And do the...
  22. Ok I don't have the handle to the window but I...

    Ok I don't have the handle to the window but I know its name. Is there any way to access a window by its name? If I get the handle how do I change the html of the window?
  23. "You may edit your posts" how?

    "You may edit your posts" how?
  24. How to alter the contents of a popup window?

    I have a popup window that appears, created by a 3rd party javascript. I have the handle to the window, it's called "pop"
    I'm not sure if that is the handle to the window actually.

    typeof(pop) is...
  25. Thanks that sounds good. Except a 2400x3300...

    Thanks that sounds good.
    Except a 2400x3300 image was allocating over 50MB for some reason but I guess I'll figure it out.
Results 1 to 25 of 70
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles